diff options
Diffstat (limited to 'opendc/util/rest.py')
| -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: |
