Created
November 4, 2013 14:56
-
-
Save justinvdm/7303706 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/go/apps/http_api/tests/test_vumi_app.py b/go/apps/http_api/tests/test_vumi_app.py | |
| index f87deaa..ff8e385 100644 | |
| --- a/go/apps/http_api/tests/test_vumi_app.py | |
| +++ b/go/apps/http_api/tests/test_vumi_app.py | |
| @@ -327,13 +327,13 @@ class StreamingHTTPWorkerTestCase(AppWorkerTestCase): | |
| url = '%s/%s/metrics.json' % (self.url, self.conversation.key) | |
| response = yield http_request_full( | |
| url, json.dumps(metric_data), self.auth_headers, method='PUT') | |
| - | |
| + | |
| self.assertEqual(response.code, http.OK) | |
| [metric1, metric2] = self.app.metrics._metrics | |
| - self.assertEqual(metric1.name, '%s%s.stores.%s.vumi.test.v1' % ( | |
| - self.config['metrics_prefix'], self.account.key, | |
| - 'metrics_store')) | |
| + self.assertEqual( | |
| + metric1.name, | |
| + '%s.stores.%s.vumi.test.v1' % (self.account.key, 'metrics_store')) | |
| self.assertEqual(metric1.aggs, ('sum',)) | |
| @inlineCallbacks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍