We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0485247 commit a274d93Copy full SHA for a274d93
1 file changed
test/test_tagdiff.py
@@ -90,6 +90,13 @@ def test_display_value_length_missing(self):
90
self.assertEqual(display_value.text, "1:00 (missing from 4 items)")
91
self.assertTrue(display_value.is_grouped)
92
93
+ def test_display_value_nothing(self):
94
+ self.counter.add("artist", ["Artist 1"])
95
+ self.parent.objects = 0
96
+ display_value = self.counter.display_value("artist")
97
+ self.assertEqual(display_value.text, "Artist 1")
98
+ self.assertFalse(display_value.is_grouped)
99
+
100
101
class TestTagDiff(PicardTestCase):
102
def setUp(self):
0 commit comments