Skip to content

Commit

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

# For testing PostgreSQL specific operations...
testing.postgresql
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def find_version(*file_path):
name='Flask-Restless',
platforms='any',
packages=find_packages(),
test_suite='nose.collector',
tests_require=['nose'],
test_suite='tests',
tests_require=['unittest2'],
url='https://github.com/jfinkels/flask-restless',
version=find_version('flask_restless', '__init__.py'),
zip_safe=False
Expand Down
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 9736da8

Please sign in to comment.