From e4a9520908c42a6a54081149bbe3e417b12bc27f Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 6 Apr 2024 11:16:00 +0100 Subject: [PATCH] Tidy up tests --- tests/test_models.py | 2 +- tests/test_playlists.py | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/test_models.py b/tests/test_models.py index 3901649..c29949b 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -46,7 +46,7 @@ class TestMMModels(unittest.TestCase): def test_track_repr(self): with db.Session() as session: session.add(self.track1) - _ =str(self.track1) + _ = str(self.track1) def test_notecolours_get_colour(self): """Create a colour record and retrieve all colours""" diff --git a/tests/test_playlists.py b/tests/test_playlists.py index 1589499..8962e91 100644 --- a/tests/test_playlists.py +++ b/tests/test_playlists.py @@ -1,5 +1,4 @@ # Standard library imports -import datetime as dt import os import unittest @@ -64,12 +63,6 @@ class MyTestCase(unittest.TestCase): def down(self): 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 def test_init(self): """Just check we can create a playlist_tab"""