Skip to content

Commit 6d2b046

Browse files
committed
Re-enable the unit tests for all supported python versions here where the
required python3 support is completely available.
1 parent 0d6ac87 commit 6d2b046

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_mig_shared_useradm.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import sys
3737
import unittest
3838

39-
from tests.support import MIG_BASE, TEST_OUTPUT_DIR, PY2, MigTestCase, \
39+
from tests.support import MIG_BASE, TEST_OUTPUT_DIR, MigTestCase, \
4040
FakeConfiguration, testmain, cleanpath, is_path_within
4141

4242
from mig.shared.defaults import keyword_auto, htaccess_filename, \
@@ -123,8 +123,6 @@ def test_skips_accounts_without_short_id(self):
123123
#print("DEBUG: oserror found as expected: %s" % ignore_oserr)
124124
pass
125125

126-
# NOTE: hits unrelated python3 issues on main so only enable on next
127-
@unittest.skipUnless(PY2, "Python 2 only")
128126
def test_creates_missing_htaccess_file(self):
129127
user_dict = {}
130128
user_dict.update(DUMMY_USER_DICT)
@@ -141,8 +139,6 @@ def test_creates_missing_htaccess_file(self):
141139
self.assertHtaccessRequireUserClause(DUMMY_HTACCESS_PATH,
142140
DUMMY_REQUIRE_USER)
143141

144-
# NOTE: hits unrelated python3 issues on main so only enable on next
145-
@unittest.skipUnless(PY2, "Python 2 only")
146142
def test_repairs_existing_stale_htaccess_file(self):
147143
user_dict = {}
148144
user_dict.update(DUMMY_USER_DICT)

0 commit comments

Comments
 (0)