nkdsu.apps.vote.tests package¶
Submodules¶
nkdsu.apps.vote.tests.test_library_update module¶
- class nkdsu.apps.vote.tests.test_library_update.TrackMeta(key, name, artist, album, composer, year, time, added, hex_id)¶
Bases:
tuple
- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ('key', 'name', 'artist', 'album', 'composer', 'year', 'time', 'added', 'hex_id')¶
- classmethod _make(iterable)¶
Make a new TrackMeta object from a sequence or iterable
- _replace(**kwds)¶
Return a new TrackMeta object replacing specified fields with new values
- added¶
Alias for field number 7
- album¶
Alias for field number 3
- artist¶
Alias for field number 2
- composer¶
Alias for field number 4
- hex_id¶
Alias for field number 8
- key¶
Alias for field number 0
- name¶
Alias for field number 1
- time¶
Alias for field number 6
- year¶
Alias for field number 5
- class nkdsu.apps.vote.tests.test_library_update.LibraryUpdateTest(methodName='runTest')[source]¶
Bases:
TestCase
- fixtures = ['vote.json']¶
- library_plus_one_track(name: str, artist: str, composer: str, year: str, time: str, added: str, hex_id: str, album: str | None = None) dict[str, Any] [source]¶
- _classSetupFailed = False¶
- _class_cleanups = []¶
- class nkdsu.apps.vote.tests.test_library_update.LibraryUpdateDryRunTest(methodName='runTest')[source]¶
Bases:
LibraryUpdateTest
- _classSetupFailed = False¶
- _class_cleanups = []¶
- class nkdsu.apps.vote.tests.test_library_update.LibraryUpdateWetRunTest(methodName='runTest')[source]¶
Bases:
LibraryUpdateTest
- _classSetupFailed = False¶
- _class_cleanups = []¶
nkdsu.apps.vote.tests.test_local_data module¶
nkdsu.apps.vote.tests.test_models module¶
nkdsu.apps.vote.tests.test_parsers module¶
nkdsu.apps.vote.tests.tests module¶
- class nkdsu.apps.vote.tests.tests.ShowTest(methodName='runTest')[source]¶
Bases:
TestCase
Tests for Show objects. Many of these depend on Neko Desu continuing to be broadcast at 9-11pm.
- _classSetupFailed = False¶
- _class_cleanups = []¶
- class nkdsu.apps.vote.tests.tests.TrackTest(methodName='runTest')[source]¶
Bases:
TestCase
- fixtures = ['vote.json']¶
- _classSetupFailed = False¶
- _class_cleanups = []¶