'Test that the Extension instance can be hard-deleted.'

def test_hard_delete_no_file(self):

    extension = Extension.objects.create()
    ExtensionVersion.objects.create(extension=extension, version='0.1')
    extension.delete(hard_delete=True)
    assert (not ExtensionVersion.objects.count())
    assert (not Extension.objects.count())
