'Test that the ExtensionVersion instance can be hard-deleted with the
version field being empty.'

def test_hard_delete_empty_version(self):

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