'Test that the ExtensionVersion instance can be hard-deleted without
the files being present.'

def test_hard_delete_version_no_file(self):

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