10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5f757 commit c5e53ecCopy full SHA for c5e53ec
Document API/test.py
@@ -4,11 +4,13 @@
4
5
class HelperMethodTests(unittest.TestCase):
6
7
- def test_valid_file_with_valid_inputs(self):
+ def test_is_valid_file_with_valid_inputs(self):
8
self.assertTrue(Workbook._is_valid_file('file1.tds'))
9
self.assertTrue(Workbook._is_valid_file('file2.twb'))
10
+ self.assertTrue(Workbook._is_valid_file('tds.twb'))
11
- def test_valid_file_with_invalid_inputs(self):
12
+ def test_is_valid_file_with_invalid_inputs(self):
13
+ self.assertFalse(Workbook._is_valid_file(''))
14
self.assertFalse(Workbook._is_valid_file('file1.tds2'))
15
self.assertFalse(Workbook._is_valid_file('file2.twb3'))
16
0 commit comments