Add test for mock CSP (probably temporary)
This commit is contained in:
parent
523f41a75d
commit
63e6671f7f
13
tests/domain/test_mock_csp.py
Normal file
13
tests/domain/test_mock_csp.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import pytest
|
||||||
|
|
||||||
|
from atst.domain.csp import MockCloudProvider
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def mock_csp():
|
||||||
|
return MockCloudProvider(with_delay=False, with_failure=False)
|
||||||
|
|
||||||
|
|
||||||
|
def test_create_environment(mock_csp: MockCloudProvider):
|
||||||
|
environment_id = mock_csp.create_environment({}, {}, {})
|
||||||
|
assert isinstance(environment_id, str)
|
Loading…
x
Reference in New Issue
Block a user