Make kallithea/tests/models/ work w/ pytest and nose

#118 Declined
Repository
msabramo
Branch
pytest_3
Repository
conservancy
Branch
default
Author
  1. Marc Abramowitz
Reviewers
Description

This makes the tests in kallithea/tests/models/ work with py.test:

$ py.test kallithea/tests/models/
kallithea/tests/models/test_diff_parsers.py s.....................
kallithea/tests/models/test_notifications.py .....
kallithea/tests/models/test_permissions.py ................s.......
kallithea/tests/models/test_repo_groups.py ...........
kallithea/tests/models/test_repos.py ....
kallithea/tests/models/test_user_group_permissions_on_repo_groups.py .................................
kallithea/tests/models/test_user_groups.py s.......
kallithea/tests/models/test_user_permissions_on_repo_groups.py ...................................................
kallithea/tests/models/test_users.py ......

==================================== 161 passed, 3 skipped in 19.11 seconds =====================================

while they continue to work with nosetests:

$ nosetests kallithea/tests/models/
...
Ran 161 tests in 15.253s

OK

Comments (0)