Skip to content

Commit

Permalink
Fix the test for invalid metric
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorova committed Feb 13, 2017
1 parent 1152cbe commit 866dd42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.py
Expand Up @@ -87,7 +87,7 @@ def testAuthRepWithInvalidMetric(self):
authrep = self.ThreeScaleAuthRep(self.provider_key, self.app_id, self.app_key)

self.assertFalse(authrep.authrep({"invalid_metric":1}))
self.assertEquals(403, authrep.error_code)
self.assertEquals(404, authrep.error_code)
self.assertEquals("metric \"invalid_metric\" is invalid", authrep.build_response().get_reason())


Expand Down

0 comments on commit 866dd42

Please sign in to comment.