Skip to content

Commit 1813aa9

Browse files
committed
Disable test account clean-up
Licensed privileges aren't taking effect for accounts that have just been created and this is causing some tests to fail. I am temporarily disabling test account clean-up to enable the accounts (with their privileges) to persist. It would be good to find a way around this.
1 parent 7a1fc73 commit 1813aa9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/api/test_people.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,16 @@ def __iter__(self):
116116
return iter(self.list)
117117

118118
def __del__(self):
119-
for person in self.test_people.values():
120-
delete_person(self._api, person)
119+
# TODO: Enable test account clean-up.
120+
# Licensed privileges aren't taking effect for accounts that have
121+
# just been created and this is causing some tests to fail.
122+
# I am temporarily disabling test account clean-up to enable the
123+
# accounts (with their privileges) to persist. It would be good to
124+
# find a way around this.
125+
126+
# for person in self.test_people.values():
127+
# delete_person(self._api, person)
128+
pass
121129

122130

123131
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)