|
@@ -2533,6 +2533,7 @@ class TestUserEndpoint(FunctionalTest):
|
2533
|
2533
|
assert res['email'] == 'test@test.test'
|
2534
|
2534
|
assert res['public_name'] == 'bob'
|
2535
|
2535
|
assert res['timezone'] == 'Europe/Paris'
|
|
2536
|
+ assert res['is_deleted'] is False
|
2536
|
2537
|
|
2537
|
2538
|
def test_api__get_user__ok_200__user_itself(self):
|
2538
|
2539
|
dbsession = get_tm_session(self.session_factory, transaction.manager)
|
|
@@ -2582,6 +2583,7 @@ class TestUserEndpoint(FunctionalTest):
|
2582
|
2583
|
assert res['email'] == 'test@test.test'
|
2583
|
2584
|
assert res['public_name'] == 'bob'
|
2584
|
2585
|
assert res['timezone'] == 'Europe/Paris'
|
|
2586
|
+ assert res['is_deleted'] is False
|
2585
|
2587
|
|
2586
|
2588
|
def test_api__get_user__err_403__other_normal_user(self):
|
2587
|
2589
|
dbsession = get_tm_session(self.session_factory, transaction.manager)
|