Closed sannant closed 5 years ago
Little trick for moving from unittest to pytest:
search and replace with regex :
Search: self.assertEqual[(](.*),(.*)[)]
self.assertEqual[(](.*),(.*)[)]
Replace: assert $1 == $2
assert $1 == $2
Little trick for moving from unittest to pytest:
search and replace with regex :
Search:
self.assertEqual[(](.*),(.*)[)]
Replace:
assert $1 == $2