diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2016-03-08 17:14:41 -0800 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2016-03-08 17:14:41 -0800 |
commit | 4d359a12c893b1d543b8daac7f5c743696469344 (patch) | |
tree | d225948e71b23978cdb2392becc0a7811d15c21c /tests/test_config_middleware.py | |
parent | 944e87e4fbcec8cf339fbbebb6283f57b86316db (diff) | |
parent | eaa2983ffb571fcfa323586c63d0b9034173c5fc (diff) | |
download | pastedeploy-master.tar.gz |
Switch to pytest
Diffstat (limited to 'tests/test_config_middleware.py')
-rw-r--r-- | tests/test_config_middleware.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_config_middleware.py b/tests/test_config_middleware.py index 28b8b72..56c3d04 100644 --- a/tests/test_config_middleware.py +++ b/tests/test_config_middleware.py @@ -1,5 +1,4 @@ -from nose.tools import assert_raises -from nose.plugins.skip import SkipTest +import pytest from paste.deploy.config import ConfigMiddleware @@ -25,4 +24,4 @@ def test_error(): wrapped = ConfigMiddleware(app_with_exception, {'test': 1}) test_app = TestApp(wrapped) - assert_raises(Bug, test_app.get, '/') + pytest.raises(Bug, test_app.get, '/') |