diff options
author | Diego Crespo Quinta <diegocrespodcq98@gmail.com> | 2020-12-15 17:38:56 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-12-15 20:03:46 +0100 |
commit | 1ed772ba80d85f0acdc8e6b7f1fef5926c17c655 (patch) | |
tree | 8d559e942b6f745d85c84135f9da7f21b3fea376 /tests/units | |
parent | 10b07ba2b9f677074a9f860e618ba6865e83324c (diff) |
#915 Fix GET /software test
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/test_0028_get_software.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/test_0028_get_software.py b/tests/units/test_0028_get_software.py index add26d1..21a8101 100644 --- a/tests/units/test_0028_get_software.py +++ b/tests/units/test_0028_get_software.py @@ -22,7 +22,7 @@ class TestGetSoftwareMethods(unittest.TestCase): for parameter in self.json: malformed_payload = self.json.copy() malformed_payload.pop(parameter) - returned = requests.pogetst(self.url, + returned = requests.get(self.url, headers=self.headers, json=malformed_payload) self.assertEqual(returned.status_code, 400) |