def test_value_from_files(self):
        f = SimpleUploadedFile('something.txt', b'content')
        value = self.widget.value_from_datadict(data={}, files={'myfile': f}, name='myfile')
        self.assertEqual(value, f)
Should return true when a valid repository is found
dataset/ETHPy150Open caktus/django-sticky-uploads/stickyuploads/tests/test_widgets.py/StickyUploadWidgetTestCase.test_value_from_files--crossover with--dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py/TestRepo.test_good_repo