Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
db.add_ws('Sheet2', {})
db.add_ws('Sheet3', {})
db.add_ws('Sheet4', {})
db.add_ws('Sheet5', {})
db.add_ws('Sheet6', {})
db.add_ws('Sheet7', {})
db.add_ws('Sheet8', {})
db.add_ws('Sheet9', {})
db.add_ws('Sheet10', {})
# test without and sharedStrings in db
self.assertEqual(new_content_types_text(db), xml_base.format(many_tag_sheets=many_tag_sheets, tag_sharedStrings=''))
# test with and sharedStrings in db
db._sharedStrings = ['text']
self.assertEqual(new_content_types_text(db), xml_base.format(many_tag_sheets=many_tag_sheets, tag_sharedStrings=xml_tag_sharedStrings))