Skip to content

Commit

Permalink
Merge e9154b1 into 4b3cc1b
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkels committed Apr 6, 2016
2 parents 4b3cc1b + e9154b1 commit 35f0f57
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-r requirements.txt
nose
savalidation
unittest2

# For testing PostgreSQL specific operations...
testing.postgresql
4 changes: 2 additions & 2 deletions tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from json import JSONEncoder
import sys
import types
from unittest import skipUnless as skip_unless
from unittest import TestCase
from unittest2 import skipUnless as skip_unless
from unittest2 import TestCase
import uuid

from flask import Flask
Expand Down
2 changes: 1 addition & 1 deletion tests/test_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# License version 3 and under the 3-clause BSD license. For more
# information, see LICENSE.AGPL and LICENSE.BSD.
"""Unit tests for the JSON API Bulk extension."""
from unittest import skip
from unittest2 import skip

from sqlalchemy import Column
from sqlalchemy import Integer
Expand Down
2 changes: 1 addition & 1 deletion tests/test_creating.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""
from __future__ import division
from datetime import datetime
from unittest import skip
from unittest2 import skip

import dateutil
from sqlalchemy import Column
Expand Down
2 changes: 1 addition & 1 deletion tests/test_deleting.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
specification.
"""
from unittest import skip
from unittest2 import skip

from sqlalchemy import Column
from sqlalchemy import ForeignKey
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fetching.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"""
from operator import itemgetter
from unittest import skip
from unittest2 import skip

from sqlalchemy import Column
from sqlalchemy import ForeignKey
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from datetime import datetime
from datetime import time
from operator import itemgetter
from unittest import skip
from unittest2 import skip

# This import is unused but is required for testing on PyPy. CPython can
# use psycopg2, but PyPy can only use psycopg2cffi.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jsonapi/test_server_responsibilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.. _Server Responsibilities: http://jsonapi.org/format/#content-negotiation-servers
"""
from unittest import skip
from unittest2 import skip

from sqlalchemy import Column
from sqlalchemy import Unicode
Expand Down
2 changes: 1 addition & 1 deletion tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# License version 3 and under the 3-clause BSD license. For more
# information, see LICENSE.AGPL and LICENSE.BSD.
"""Unit tests for the :mod:`flask_restless.manager` module."""
from unittest import skip
from unittest2 import skip

from flask import Flask
from sqlalchemy import Column
Expand Down
2 changes: 1 addition & 1 deletion tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# License version 3 and under the 3-clause BSD license. For more
# information, see LICENSE.AGPL and LICENSE.BSD.
"""Unit tests for metadata in server responses."""
from unittest import skip
from unittest2 import skip

from sqlalchemy import Column
from sqlalchemy import Integer
Expand Down
2 changes: 1 addition & 1 deletion tests/test_updating.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from __future__ import division

from datetime import datetime
from unittest import skip
from unittest2 import skip

try:
from flask.ext.sqlalchemy import SQLAlchemy
Expand Down
2 changes: 1 addition & 1 deletion tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
client.
"""
from unittest import skipUnless as skip_unless
from unittest2 import skipUnless as skip_unless
import sys

from sqlalchemy import Column
Expand Down

0 comments on commit 35f0f57

Please sign in to comment.