def METHOD_NAME(self):
    filename = _test_filename('dns_bindings.csv')
    manager = Command()
    manager.run_from_argv(['manage.py', 'ipdnsauth', 'dns', '--load', filename])
    self.assertTrue(
        User.objects.filter(username='test_user')
        .filter(dnstouser__dns_name='localhost')
        .exists()
    )
    loaded = manager.export_data('dns', DnsToUser.objects)
    expected = (
        ('test_user', 'localhost'),
        ('test_user2', 'some.dotted.domain'),
    )
    self.assertCountEqual(expected, loaded)
    manager.run_from_argv(['manage.py', 'ipdnsauth', 'dns', '--unload', filename])
    loaded = manager.export_data('dns', DnsToUser.objects)
    self.assertEqual(len(loaded), 0)