Skip to content

Commit

Permalink
Revert "chore: fix test warnings"
Browse files Browse the repository at this point in the history
This reverts commit ee650ef.
  • Loading branch information
WilliamBergamin committed Jul 19, 2024
1 parent ee650ef commit a0f3e68
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions tests/scenario_test/test_get_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ def setup_method(self):
cli_args = [get_hooks.__name__, "--protocol", "message-boundaries", "--boundary", ""]
self.argv_mock = patch.object(sys, "argv", cli_args)
self.argv_mock.start()
# Prevent unpredictable behavior from import order mismatch
if get_hooks.__name__ in sys.modules:
del sys.modules[get_hooks.__name__]

def teardown_method(self):
self.argv_mock.stop()
Expand Down
3 changes: 0 additions & 3 deletions tests/scenario_test/test_get_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ def setup_method(self):
self.argv_mock = patch.object(sys, "argv", cli_args)
self.argv_mock.start()
self.cwd = os.getcwd()
# Prevent unpredictable behavior from import order mismatch
if get_manifest.__name__ in sys.modules:
del sys.modules[get_manifest.__name__]

def teardown_method(self):
os.chdir(self.cwd)
Expand Down
3 changes: 0 additions & 3 deletions tests/scenario_test/test_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def setup_method(self):
self.argv_mock.start()

self.cwd = os.getcwd()
# Prevent unpredictable behavior from import order mismatch
if start.__name__ in sys.modules:
del sys.modules[start.__name__]

def teardown_method(self):
self.argv_mock.stop()
Expand Down

0 comments on commit a0f3e68

Please sign in to comment.