test: fix broken test
This commit is contained in:
parent
b30f066c41
commit
b81914fbf5
|
@ -5,12 +5,9 @@ from unittest import TestCase
|
||||||
|
|
||||||
from pyramid.config import Configurator
|
from pyramid.config import Configurator
|
||||||
|
|
||||||
from wuttjamaican.testing import FileConfigTestCase
|
|
||||||
|
|
||||||
from rattail.exceptions import ConfigurationError
|
from rattail.exceptions import ConfigurationError
|
||||||
from rattail.config import RattailConfig
|
from rattail.testing import DataTestCase
|
||||||
from tailbone import app as mod
|
from tailbone import app as mod
|
||||||
from tests.util import DataTestCase
|
|
||||||
|
|
||||||
|
|
||||||
class TestRattailConfig(TestCase):
|
class TestRattailConfig(TestCase):
|
||||||
|
@ -30,7 +27,7 @@ class TestRattailConfig(TestCase):
|
||||||
|
|
||||||
class TestMakePyramidConfig(DataTestCase):
|
class TestMakePyramidConfig(DataTestCase):
|
||||||
|
|
||||||
def make_config(self):
|
def make_config(self, **kwargs):
|
||||||
myconf = self.write_file('web.conf', """
|
myconf = self.write_file('web.conf', """
|
||||||
[rattail.db]
|
[rattail.db]
|
||||||
default.url = sqlite://
|
default.url = sqlite://
|
||||||
|
|
Loading…
Reference in a new issue