Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
class ParseTestCase(unittest.TestCase): # Always run before any test def setUp(self): self.parse = Parse(debug=True) def test_load_sample_feedback(self): self.parse.load_file("tests/textfile_mixed.txt") js = json.loads(self.parse.get_data()) self.assertEqual(js['town'], "Paris")