zaidmehdi commited on
Commit
9a3b7ae
1 Parent(s): 464be69

rename method test_output() to test_response()

Browse files
Files changed (1) hide show
  1. tests/model_tests.py +1 -1
tests/model_tests.py CHANGED
@@ -9,7 +9,7 @@ class TestClassifier(unittest.TestCase):
9
  'Oman', 'Tunisia', 'Lebanon', 'Morocco', 'Djibouti','United_Arab_Emirates','Kuwait',
10
  'Libya', 'Bahrain', 'Qatar', 'Yemen', 'Palestine', 'Jordan', 'Somalia', 'Sudan']
11
 
12
- def test_output(self):
13
  """Test if the response of the /classify API endpoint is correct"""
14
  request_data = {"text": "حاجة حلوة اكيد"}
15
  response = requests.post(self.API_URL, json=request_data)
 
9
  'Oman', 'Tunisia', 'Lebanon', 'Morocco', 'Djibouti','United_Arab_Emirates','Kuwait',
10
  'Libya', 'Bahrain', 'Qatar', 'Yemen', 'Palestine', 'Jordan', 'Somalia', 'Sudan']
11
 
12
+ def test_response(self):
13
  """Test if the response of the /classify API endpoint is correct"""
14
  request_data = {"text": "حاجة حلوة اكيد"}
15
  response = requests.post(self.API_URL, json=request_data)