diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-06-24 15:10:40 +0200 |
|---|---|---|
| committer | Georgios Andreadis <info@gandreadis.com> | 2020-06-24 15:10:40 +0200 |
| commit | 64a8696e1507d6affd9b9ed56d2577cdb3fe9747 (patch) | |
| tree | 57232ea646cd087c3bdac14dc9e40ceb6f517418 /opendc/util | |
| parent | a1782de1037dc1f818c45257d978da888e87ff85 (diff) | |
Add more tests
Diffstat (limited to 'opendc/util')
| -rw-r--r-- | opendc/util/rest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
