Tidy up tests
This commit is contained in:
parent
cce7194aa1
commit
5f1682c0c6
@ -46,7 +46,7 @@ class TestMMModels(unittest.TestCase):
|
|||||||
def test_track_repr(self):
|
def test_track_repr(self):
|
||||||
with db.Session() as session:
|
with db.Session() as session:
|
||||||
session.add(self.track1)
|
session.add(self.track1)
|
||||||
_ =str(self.track1)
|
_ = str(self.track1)
|
||||||
|
|
||||||
def test_notecolours_get_colour(self):
|
def test_notecolours_get_colour(self):
|
||||||
"""Create a colour record and retrieve all colours"""
|
"""Create a colour record and retrieve all colours"""
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
# Standard library imports
|
# Standard library imports
|
||||||
import datetime as dt
|
|
||||||
import os
|
import os
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
@ -64,12 +63,6 @@ class MyTestCase(unittest.TestCase):
|
|||||||
def down(self):
|
def down(self):
|
||||||
db.drop_all()
|
db.drop_all()
|
||||||
|
|
||||||
# @with_updown
|
|
||||||
# def test_some_property(self):
|
|
||||||
# with self.qtbot.waitSignal(self.widget.my_signal, timeout=300):
|
|
||||||
# self.widget.do_thing()
|
|
||||||
# self.assertEqual(self.widget.get_thing(), 'foo')
|
|
||||||
|
|
||||||
@with_updown
|
@with_updown
|
||||||
def test_init(self):
|
def test_init(self):
|
||||||
"""Just check we can create a playlist_tab"""
|
"""Just check we can create a playlist_tab"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user