Fixed import issue with views.reports
module.
This commit is contained in:
parent
bb67fd3c32
commit
6921f20fed
|
@ -31,7 +31,7 @@ from mako.template import Template
|
|||
from pyramid.response import Response
|
||||
|
||||
from rattail.pyramid import Session
|
||||
from rattail.db import Vendor, Department, Product, ProductCost
|
||||
from rattail.db.model import Vendor, Department, Product, ProductCost
|
||||
|
||||
import re
|
||||
import rattail
|
||||
|
|
2
setup.py
2
setup.py
|
@ -94,7 +94,7 @@ setup(
|
|||
],
|
||||
|
||||
install_requires = requires,
|
||||
tests_require = requires + ['mock', 'nose', 'coverage'],
|
||||
tests_require = requires + ['mock', 'nose', 'coverage', 'fixture'],
|
||||
test_suite = 'nose.collector',
|
||||
|
||||
namespace_packages = ['rattail'],
|
||||
|
|
2
tests/views/test_reports.py
Normal file
2
tests/views/test_reports.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
from rattail.pyramid.views import reports
|
Loading…
Reference in a new issue