def test_finds_jpg_in_directory(self):
    _common.touch(os.path.join(self.dpath, 'a.jpg'))
    fn = self.source.get(self.dpath, ('art',), False)
    self.assertEqual(fn, os.path.join(self.dpath, 'a.jpg'))
def test_finds_jpg_in_directory(self):
    _common.touch(os.path.join(self.dpath, 'a.jpg'))
    fn = self.source.get(self.dpath, ('art',), False)
    self.assertEqual(fn, os.path.join(self.dpath, 'a.jpg'))