forked from p15670423/monkey
Island: Remove Environment.get_config()
This commit is contained in:
parent
e0fc3cec2a
commit
1231b6aa6c
|
@ -15,7 +15,6 @@ class Environment(object, metaclass=ABCMeta):
|
||||||
_testing = False
|
_testing = False
|
||||||
|
|
||||||
def __init__(self, config: EnvironmentConfig):
|
def __init__(self, config: EnvironmentConfig):
|
||||||
self._config = config
|
|
||||||
self._testing = False # Assume env is not for unit testing.
|
self._testing = False # Assume env is not for unit testing.
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -25,6 +24,3 @@ class Environment(object, metaclass=ABCMeta):
|
||||||
@testing.setter
|
@testing.setter
|
||||||
def testing(self, value):
|
def testing(self, value):
|
||||||
self._testing = value
|
self._testing = value
|
||||||
|
|
||||||
def get_config(self) -> EnvironmentConfig:
|
|
||||||
return self._config
|
|
||||||
|
|
Loading…
Reference in New Issue