Skip to content

Commit

Permalink
Update test_platform.py
Browse files Browse the repository at this point in the history
Added import dem.core.dev_env as dev_env  to be able to
  • Loading branch information
amathestar authored Oct 31, 2023
1 parent 1be1a5b commit b6109d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/core/test_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# Unit under test:
import dem.core.platform as platform

# Unit under test:
import dem.core.dev_env as dev_env

# Test framework
import pytest
from unittest.mock import patch, MagicMock, call, PropertyMock
Expand All @@ -25,7 +28,7 @@ def test_dev_env_json_with_invalid_tool_type_expect_success(mock_LocalDevEnvJSON
test_platform = platform.DevEnvLocalSetup()

# Check expectations
assert isinstance(test_platform.local_dev_envs[0], DevEnv)
assert isinstance(test_platform.local_dev_envs[0], dev_env.DevEnv)

@patch("dem.core.platform.__supported_dev_env_major_version__", 0)
@patch("dem.core.platform.LocalDevEnvJSON")
Expand Down

0 comments on commit b6109d7

Please sign in to comment.