'Test management command raises CommandError without \'--site-domain\' argument.'

def test_command_without_site_domain(self):

    with self.assertRaises(CommandError):
        call_command('populate_created_on_site_user_attribute', '--user', self.user_ids, '--activation-keys', self.activation_keys)
