diff tests/test_auth.py @ 497:36c3e9b1d1e3

cm: Upgrade all dependencies and fix deprecation issues.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 06 Jun 2020 22:24:38 -0700
parents 6cd51ea6dfcf
children
line wrap: on
line diff
--- a/tests/test_auth.py	Wed Nov 07 23:19:43 2018 -0800
+++ b/tests/test_auth.py	Sat Jun 06 22:24:38 2020 -0700
@@ -1,5 +1,5 @@
 import pytest
-from configparser import SafeConfigParser
+from configparser import ConfigParser
 from wikked.auth import (
         UserManager, PERM_NAMES,
         NoSuchGroupOrUserError, MultipleGroupMembershipError,
@@ -7,7 +7,7 @@
 
 
 def _user_manager_from_str(txt):
-    config = SafeConfigParser()
+    config = ConfigParser()
     config.read_string(txt)
     return UserManager(config)