Remove unused code in unit tests

This commit is contained in:
Shreya 2021-05-04 12:00:23 +05:30
parent 33e74b1f3e
commit 638e70e978
3 changed files with 0 additions and 16 deletions

View File

@ -63,10 +63,6 @@ class StubEnvironmentConfig(EnvironmentConfig):
os.remove(self.server_config_path)
def get_server_config_file_path_test_version():
return os.path.join(os.getcwd(), "test_config.json")
class TestEnvironment(TestCase):
class EnvironmentCredentialsNotRequired(Environment):
def __init__(self):

View File

@ -21,7 +21,6 @@ NT_HASH = "a9fdfa038c4b75ebc76dc855dd74f0da"
VICTIM_IP = "0.0.0.0"
VICTIM_DOMAIN_NAME = "domain-name"
HOSTNAME = "name-of-host"
EXPLOITER_CLASS_NAME = "exploiter-name"
# Below telem constants only contain fields relevant to current tests

View File

@ -2,17 +2,6 @@ from unittest import TestCase
from monkey_island.cc.services.bootloader import BootloaderService
WINDOWS_VERSIONS = {
"5.0": "Windows 2000",
"5.1": "Windows XP",
"5.2": "Windows XP/server 2003",
"6.0": "Windows Vista/server 2008",
"6.1": "Windows 7/server 2008R2",
"6.2": "Windows 8/server 2012",
"6.3": "Windows 8.1/server 2012R2",
"10.0": "Windows 10/server 2016-2019",
}
MIN_GLIBC_VERSION = 2.14