From 6736699cf4b5a7bf002c4bdf1dd10015e5da23f9 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 7 Oct 2021 15:01:17 -0400 Subject: [PATCH] Island: Remove disused TestingEnvironment --- monkey/monkey_island/cc/environment/testing.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 monkey/monkey_island/cc/environment/testing.py diff --git a/monkey/monkey_island/cc/environment/testing.py b/monkey/monkey_island/cc/environment/testing.py deleted file mode 100644 index efa323fe8..000000000 --- a/monkey/monkey_island/cc/environment/testing.py +++ /dev/null @@ -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 []