]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/tests/test_bundles.py
Resolve removed 'AUTH_PROFILE_MODULE' setting
[patchwork] / apps / patchwork / tests / test_bundles.py
index 5e8b95ba92f7fafd3dcda2f04698b0c731133275..38f3a2c48a39bf69d265b40e52ec44ff16f3d05c 100644 (file)
@@ -193,7 +193,7 @@ class BundleMaintainerUpdateTest(BundleUpdateTest):
 
     def setUp(self):
         super(BundleMaintainerUpdateTest, self).setUp()
-        profile = self.user.get_profile()
+        profile = self.user.profile
         profile.maintainer_projects.add(defaults.project)
         profile.save()