diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2024-01-27 17:04:18 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2024-01-27 17:21:18 -0500 |
commit | 1dc172d00320d6ca77f65c355b1ee910b71e6a65 (patch) | |
tree | 88f4cbb6ad35409c25f0fffa003edddc33d13cde /tests/test_config.py | |
parent | ed30996bc90189cccbc1ef553dae3a1ce12d35bc (diff) |
Use pytest's setup_method -- in pytest 8 the nose method setup is deprecated
Diffstat (limited to 'tests/test_config.py')
-rw-r--r-- | tests/test_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index a2c60a32..6e96e9a6 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -53,7 +53,7 @@ def load_config(name): class TestSSHConfig: - def setup(self): + def setup_method(self): self.config = load_config("robey") def test_init(self): |