Пример #1
0
 def test_settings_type(self):
     """Test that settings are returned as a dict"""
     my_settings = settings(self.user_name, self.password)
     self.assertIsInstance(my_settings, dict)
Пример #2
0
 def test_settings(self):
     """Test that settings are accurately returned"""
     my_settings = settings(self.user_name, self.password)
     self.assertGreater(len(my_settings), 0)