Skip to content

Commit

Permalink
pep8 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Semir Patel committed Apr 23, 2015
1 parent ac18ef5 commit 96879c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/includeme_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def test_bad_schema_validated_on_include():
'pyramid_swagger.enable_swagger_spec_validation': True,
}
mock_config = mock.Mock(registry=mock.Mock(settings=settings))
with pytest.raises(SwaggerValidationError) as excinfo:
with pytest.raises(SwaggerValidationError):
pyramid_swagger.includeme(mock_config)
# TODO: Figure out why this assertion fails on travis
#assert "'info' is a required property" in str(excinfo.value)
# assert "'info' is a required property" in str(excinfo.value)


@mock.patch('pyramid_swagger.get_swagger_spec')
Expand Down

0 comments on commit 96879c1

Please sign in to comment.