mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
Remove potentially unexpected config update
This commit is contained in:
committed by
Bobby Noelte
parent
94618f5f66
commit
da4994ca39
@@ -116,7 +116,6 @@ class TestDataBase:
|
||||
def base(self):
|
||||
# Provide default values for configuration
|
||||
derived = DerivedBase()
|
||||
derived.config.update()
|
||||
return derived
|
||||
|
||||
def test_get_config_value_key_error(self, base):
|
||||
|
@@ -88,9 +88,6 @@ def test_request_forecast(mock_get, provider, sample_akkudoktor_1_json):
|
||||
mock_response.content = json.dumps(sample_akkudoktor_1_json)
|
||||
mock_get.return_value = mock_response
|
||||
|
||||
# Preset, as this is usually done by update()
|
||||
provider.config.update()
|
||||
|
||||
# Test function
|
||||
akkudoktor_data = provider._request_forecast()
|
||||
|
||||
|
@@ -107,9 +107,6 @@ def test_request_forecast(mock_get, provider, sample_brightsky_1_json):
|
||||
mock_response.content = json.dumps(sample_brightsky_1_json)
|
||||
mock_get.return_value = mock_response
|
||||
|
||||
# Preset, as this is usually done by update()
|
||||
provider.config.update()
|
||||
|
||||
# Test function
|
||||
brightsky_data = provider._request_forecast()
|
||||
|
||||
|
Reference in New Issue
Block a user