def test_save_empty_key(self):
        self.provider.consumer_key = ''
        self.provider.save()
        self.assertEqual(self.provider.consumer_key, None)

        self.provider.consumer_key = None
        self.provider.save()
        self.assertEqual(self.provider.consumer_key, None)
Convert template short name to filename.
dataset/ETHPy150Open mlavin/django-all-access/allaccess/tests/test_models.py/ProviderTestCase.test_save_empty_key--crossover with--dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Engine.to_filename