def test_get_file_type(mocker):
    mocker.patch.object(Phockup, 'check_directories')
    assert Phockup('in', '.').get_file_type('image/jpeg')
    assert Phockup('in', '.').get_file_type('video/mp4')
    assert (not Phockup('in', '.').get_file_type('foo/bar'))
def test_get_file_type(mocker):
    mocker.patch.object(Phockup, 'check_directories')
    assert Phockup('in', '.').get_file_type('image/jpeg')
    assert Phockup('in', '.').get_file_type('video/mp4')
    assert (not Phockup('in', '.').get_file_type('foo/bar'))