Beispiel #1
0
 def testGetSize(self):
     # Test get_size returns correct value
     script = FSPythonScript('test1', script_path)
     self.assertEqual(len(script.read()),script.get_size())
Beispiel #2
0
 def test_GetSize(self):
     """ Test get_size returns correct value """
     script = FSPythonScript('test1', script_path)
     self.assertEqual(len(script.read()), script.get_size())
Beispiel #3
0
 def test_GetSize(self):
     # Test get_size returns correct value
     script = FSPythonScript('test1', join(self.skin_path_name, 'test1.py'))
     self.assertEqual(len(script.read()), script.get_size())
Beispiel #4
0
 def test_GetSize( self ):
     """ Test get_size returns correct value """
     script = FSPythonScript('test1', join(self.skin_path_name,'test1.py'))
     self.assertEqual(len(script.read()),script.get_size())