def test_new_spreadsheet(self): """Verify 'xy' can create a new spreadsheet.""" self.assertIs(None, main(['new.xlsxy', '--no-open']))
def test_new_no_save(self): """Verify 'xy' doesn't create a file on error.""" self.assertIs(None, main(['new.xlsxy', '--no-open']))
def test_new_document(self): """Verify 'xy' can create a new document.""" self.assertIs(None, main(['new.docxy', '--no-open']))
def test_verbose_3(self): """Verify verbose level 3 can be set.""" self.assertIs(None, main(['-vvv']))
def test_convert_custom_output(self): """Verify 'xy' can convert a document to a specific output.""" # TODO: copy input self.assertIs(None, main(['--convert', 'sample.docx', '--out', 'sample.xy', '--no-open']))
def test_convert_spreadsheet(self): """Verify 'xy' can convert a spreadsheet.""" # TODO: copy input self.assertIs(None, main(['--convert', 'sample.xlsx', '--no-open']))
def test_convert_document(self): """Verify 'xy' can convert a document.""" # TODO: copy input self.assertIs(None, main(['--convert', 'sample.docx', '--no-open']))