15 lines
370 B
Python
15 lines
370 B
Python
|
# Copyright 2021 (c) Anna Schumaker.
|
||
|
from lib import tagstore
|
||
|
from . import tags
|
||
|
import unittest
|
||
|
|
||
|
class TestTags(unittest.TestCase):
|
||
|
def test_tags_init(self):
|
||
|
self.assertIsInstance(tags.Artist, tagstore.TagStore)
|
||
|
|
||
|
def test_tags_reset(self):
|
||
|
tags.Artist.store = {"a" : 1 }
|
||
|
|
||
|
tags.reset()
|
||
|
self.assertEqual(tags.Artist.store, { })
|