Delete some unwanted tests; delay import for tempmon session

view config can now depend on rattail config, and tests don't like that... but
they didn't really do anything that useful anyway i think
This commit is contained in:
Lance Edgar 2020-04-04 21:44:01 -05:00
parent d9f6a7201e
commit f2b5e2302a
3 changed files with 3 additions and 26 deletions

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2018 Lance Edgar
# Copyright © 2010-2020 Lance Edgar
#
# This file is part of Rattail.
#
@ -26,8 +26,6 @@ Common stuff for tempmon views
from __future__ import unicode_literals, absolute_import
from rattail_tempmon.db import Session as RawTempmonSession
from webhelpers2.html import HTML
from tailbone import views, grids
@ -41,7 +39,8 @@ class MasterView(views.MasterView):
Session = TempmonSession
def get_bulk_delete_session(self):
return RawTempmonSession()
from rattail_tempmon.db import Session
return Session()
def render_probes(self, obj, field):
"""

View file

@ -1,11 +0,0 @@
from . import TestCase
class RootTests(TestCase):
"""
Test root module.
"""
def test_includeme(self):
self.config.include('tailbone')

View file

@ -1,11 +0,0 @@
from . import TestCase
class ViewTests(TestCase):
"""
Test root views module.
"""
def test_includeme(self):
self.config.include('tailbone.views')