Skip to content

Commit

Permalink
remove distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Nov 26, 2023
1 parent 11596fa commit 155ab26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/ssh/test_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

# https://github.com/actions/runner-images/issues/1519 ping does not work in github runner so we skip it.
import os
from distutils.util import strtobool
github_action = strtobool(os.getenv('GITHUB_ACTIONS', 'false'))
from cloudmesh.common.util import str_bool
github_action = str_bool(os.getenv('GITHUB_ACTIONS', 'false'))

import pytest
from cloudmesh.common.Benchmark import Benchmark
Expand Down
4 changes: 2 additions & 2 deletions tests/test_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

# https://github.com/actions/runner-images/issues/1519 ping does not work in github runner so we skip it.
import os
from distutils.util import strtobool
github_action = strtobool(os.getenv('GITHUB_ACTIONS', 'false'))
from cloudmesh.common.util import str_bool
github_action = str_bool(os.getenv('GITHUB_ACTIONS', 'false'))

# multiping only works if you have root, so we can not use it
# from multiping import MultiPing
Expand Down
4 changes: 2 additions & 2 deletions tests/test_shell_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

# https://github.com/actions/runner-images/issues/1519 ping does not work in github runner so we skip it.
import os
from distutils.util import strtobool
github_action = strtobool(os.getenv('GITHUB_ACTIONS', 'false'))
from cloudmesh.common.util import str_bool
github_action = str_bool(os.getenv('GITHUB_ACTIONS', 'false'))


class TestShell:
Expand Down

0 comments on commit 155ab26

Please sign in to comment.