# Class e.p.d.t.t.TestFindingRightTypeParsing(ParserSetupMixin, TestCase):

Part of elisa.plugins.database.tests.test_database_parser View In Hierarchy

check if the parser at least starts with the right entries in the database for the given file_type (the least gstreamer can give us)

Line # | Kind | Name | Docs
--- | --- | --- | ---
256 | Method | test_image | check whether file_type:image leads to having an image entry
278 | Method | test_video | check whether file_type:video leads to having an video entry
299 | Method | test_audio | test whether file_type:audio leads to having the musictrack entry

Inherited from ParserSetupMixin:

Line # | Kind | Name | Docs
--- | --- | --- | ---
107 | Method | setUp | Undocumented
127 | Method | tearDown | Undocumented
142 | Method | ensure_file | Undocumented

Inherited from DBMixin (via ParserSetupMixin):

Line # | Kind | Name | Docs
--- | --- | --- | ---
49 | Method | _set_store_to_application | Undocumented
56 | Method | patch_application | Undocumented
69 | Method | unpatch_application | Undocumented
72 | Method | _execute | Undocumented
75 | Method | _execute_many | Undocumented
83 | Method | _create_tables | Undocumented

def test_image(self):
check whether file_type:image leads to having an image entry

def test_video(self):
check whether file_type:video leads to having an video entry

def test_audio(self):
test whether file_type:audio leads to having the musictrack entry