Example #1
0
 def test_is_resource_file_should_return_false_on_init(self):
     file = self.fixture_path / "__init__.robot"
     result = RfhubImporter._is_resource_file(file)
     self.assertFalse(
         result, "method should return false if file is not resource file")
Example #2
0
 def test_is_resource_file_should_return_true(self):
     file = self.fixture_path / "test_resource.resource"
     result = RfhubImporter._is_resource_file(file)
     self.assertTrue(result,
                     "method should return true if file is resource file")