Remove unused test fixtures

This commit is contained in:
Lance Edgar 2024-04-19 20:25:07 -05:00
parent 36b9e00dc9
commit 49da9776e7
2 changed files with 2 additions and 30 deletions

View file

@ -73,7 +73,7 @@ install_requires =
zope.sqlalchemy
tests_require = Tailbone[tests]
test_suite = nose.collector
test_suite = tests
packages = find:
include_package_data = True
zip_safe = False
@ -87,7 +87,7 @@ exclude =
[options.extras_require]
docs = Sphinx; sphinx-rtd-theme
tests = coverage; fixture; mock; nose; pytest; pytest-cov
tests = coverage; mock; pytest; pytest-cov
[options.entry_points]

View file

@ -1,28 +0,0 @@
import fixture
from rattail.db import model
class DepartmentData(fixture.DataSet):
class grocery:
number = 1
name = 'Grocery'
class supplements:
number = 2
name = 'Supplements'
def load_fixtures(engine):
dbfixture = fixture.SQLAlchemyFixture(
env={
'DepartmentData': model.Department,
},
engine=engine)
data = dbfixture.data(DepartmentData)
data.setup()