From 973fb9567e732743c709673f3a0ea358802eaa57 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 14 2015 21:19:49 +0000 Subject: Put the default ACLs for the token in the database for the tests --- diff --git a/tests/__init__.py b/tests/__init__.py index fdbd60f..d2ab4e7 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -101,7 +101,8 @@ class Modeltests(unittest.TestCase): shutil.rmtree(folder) os.mkdir(folder) - self.session = pagure.lib.model.create_tables(DB_PATH) + self.session = pagure.lib.model.create_tables( + DB_PATH, acls=pagure.APP.config.get('ACLS', {})) # Create a couple of users item = pagure.lib.model.User(