Skip to content

Commit 6a0dc0f

Browse files
committed
Added test to update case tags
1 parent ade7f02 commit 6a0dc0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/tests_rest_cases.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,3 +228,9 @@ def test_update_case_should_allow_to_update_reviewer(self):
228228
user = self._subject.create_dummy_user()
229229
response = self._subject.update(f'/api/v2/cases/{identifier}', {'reviewer_id': user.get_identifier()}).json()
230230
self.assertEqual(user.get_identifier(), response['reviewer_id'])
231+
232+
def test_update_case_should_allow_to_update_tags(self):
233+
identifier = self._subject.create_dummy_case()
234+
response = self._subject.update(f'/api/v2/cases/{identifier}', {'case_tags': 'tag1,tag2'}).json()
235+
self.assertEqual('tag1,tag2', response['case_tags'])
236+

0 commit comments

Comments
 (0)