Commits

Shinya Okano committed 81ba429

python3.2でテストを実行できるように修正

  • Participants
  • Parent commits 7aaa737

Comments (0)

Files changed (5)

File tests/djangomodel_tests.py

 from datetime import datetime, date, time
 
-import testing_django
+from . import testing_django
 
-from testing import TestCase, DummyObject, SkipTest
+from .testing import TestCase, DummyObject, SkipTest
 
 from bpmappers import fields
 from bpmappers import mappers

File tests/exceptions_tests.py

-from testing import TestCase
+from .testing import TestCase
 
 from bpmappers import exceptions
 

File tests/field_tests.py

-from testing import TestCase, DummyCallback
+from .testing import TestCase, DummyCallback
 
 from bpmappers import fields
 from bpmappers.exceptions import InvalidDelegateException

File tests/mapper_tests.py

-from testing import TestCase, DummyObject, DummyCallback
+from .testing import TestCase, DummyObject, DummyCallback
 
 from bpmappers import fields
 from bpmappers import mappers
 [tox]
-envlist = py25,py26,py27,django10,django11,django12,django13,cover
+envlist = py25,py26,py27,py32,django10,django11,django12,django13,cover
 
 [testenv]
 deps = 
 commands = 
    nosetests
 
+[testenv:py32]
+deps = 
+   nose
+commands = 
+   nosetests
+
 [testenv:django10]
 basepython = python2.7
 deps =