Moved tests out of package dir.
This commit is contained in:
parent
68650a5488
commit
134613aadd
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
from mock import Mock
|
from mock import Mock
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase
|
from .. import TestCase
|
||||||
from rattail.pyramid.forms import simpleform
|
from rattail.pyramid.forms import simpleform
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase
|
from . import TestCase
|
||||||
from rattail.pyramid import helpers
|
from rattail.pyramid import helpers
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase
|
from . import TestCase
|
||||||
|
|
||||||
|
|
||||||
class RootTests(TestCase):
|
class RootTests(TestCase):
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
from mock import Mock
|
from mock import Mock
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase
|
from . import TestCase
|
||||||
from rattail.pyramid import subscribers
|
from rattail.pyramid import subscribers
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase
|
from . import TestCase
|
||||||
|
|
||||||
|
|
||||||
class ViewTests(TestCase):
|
class ViewTests(TestCase):
|
|
@ -2,7 +2,7 @@
|
||||||
from mock import Mock
|
from mock import Mock
|
||||||
from pyramid import testing
|
from pyramid import testing
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase, mock_query
|
from .. import TestCase, mock_query
|
||||||
from rattail.pyramid.views import autocomplete
|
from rattail.pyramid.views import autocomplete
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
from mock import Mock
|
from mock import Mock
|
||||||
from pyramid import testing
|
from pyramid import testing
|
||||||
|
|
||||||
from rattail.pyramid.tests import TestCase, mock_query
|
from .. import TestCase, mock_query
|
||||||
from rattail.pyramid.views import departments
|
from rattail.pyramid.views import departments
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue