Island: Remove disused TestingEnvironment
This commit is contained in:
parent
bfad0256f8
commit
6736699cf4
|
@ -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 []
|
Loading…
Reference in New Issue