Skip to content

Commit

Permalink
MIN Update to pytest native names
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Nov 5, 2023
1 parent 4fad766 commit 622e4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jug/tests/test_subcommand_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def clear_default(default):


class TestSubCommandAPI():
def setup(self):
def setup_method(self):
self._old_commands = cmdapi._commands.copy()
cmdapi._commands.clear()

def teardown(self):
def teardown_method(self):
cmdapi._commands.clear()
cmdapi._commands.update(self._old_commands)

Expand Down

0 comments on commit 622e4c4

Please sign in to comment.