Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finished test_docker_util w/my #388

Merged
merged 3 commits into from
Jul 13, 2024
Merged

finished test_docker_util w/my #388

merged 3 commits into from
Jul 13, 2024

Conversation

Yuhu-kth
Copy link
Collaborator

fixed a small bug in docker_util, line 120.
CSLE_PREFIX is "csle_" not "csle-"
Also in the test file, line 190, mock_inspect_container should be called but not, weird.

@Limmen
Copy link
Owner

Limmen commented Jul 12, 2024

The test looks good, I will check the inspect_container.

I think it should still be - not _.

The prefix is csle_... but the container name is e.g., "csle_client_1_1-level14-15".

So splitting on "-" you get three parts: name, the level, and the id.

@Yuhu-kth
Copy link
Collaborator Author

i think you are right, I changed it

@Limmen
Copy link
Owner

Limmen commented Jul 13, 2024

Good, change the line in docker_util_py also

@Limmen Limmen merged commit 876d830 into master Jul 13, 2024
@Limmen Limmen deleted the docker_util branch July 18, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants