kytos-ng / of_core

Kytos Main OpenFlow Network Application (NApp)
MIT License
0 stars 5 forks source link

Use pytest parametrize instead of unittest subTest in test_action #55

Closed ajoaoff closed 2 years ago

ajoaoff commented 2 years ago

Tox is using pytest to run the tests, and it does not create subtests with unittest.subTest, executing all as one test. This PR uses pytest.mark.parametrize to produce subtests that work with pytest.