Island: Remove disused TestingEnvironment

This commit is contained in:
Mike Salvatore 2021-10-07 15:01:17 -04:00
parent bfad0256f8
commit 6736699cf4
1 changed files with 0 additions and 18 deletions

View File

@ -1,18 +0,0 @@
from monkey_island.cc.environment import Environment, EnvironmentConfig
class TestingEnvironment(Environment):
"""
Use this environment for running Unit Tests.
This will cause all mongo connections to happen via `mongomock` instead of using an actual
mongodb instance.
"""
_credentials_required = True
def __init__(self, config: EnvironmentConfig):
super(TestingEnvironment, self).__init__(config)
self.testing = True
def get_auth_users(self):
return []