From 64a8696e1507d6affd9b9ed56d2577cdb3fe9747 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 24 Jun 2020 15:10:40 +0200 Subject: Add more tests --- opendc/util/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/util') diff --git a/opendc/util/rest.py b/opendc/util/rest.py index 2312b199..4da2ced6 100644 --- a/opendc/util/rest.py +++ b/opendc/util/rest.py @@ -43,7 +43,6 @@ class Request(object): module_base = 'opendc.api.{}.endpoint' module_path = self.path.replace('/', '.') - print(module_base.format(module_path)) self.module = importlib.import_module(module_base.format(module_path)) except ImportError: raise exceptions.UnimplementedEndpointError('Unimplemented endpoint: {}.'.format(self.path)) @@ -60,6 +59,7 @@ class Request(object): # Verify the user if "OPENDC_FLASK_TESTING" in os.environ: + self.google_id = 'test' return try: -- cgit v1.2.3