Skip to content

Commit 5483a40

Browse files
committed
Update test_content.py
1 parent 7eeeafc commit 5483a40

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/posit/connect/test_content.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -611,16 +611,12 @@ def test_repository_getter_returns_repository(self):
611611
def test_repository_update(self):
612612
repository_info = self.mock_repository_info()
613613

614-
# print(dict(repository_info))
615-
print(repository_info.__dict__)
616-
print(repository_info._attrs)
617-
618614
mock_patch = responses.patch(self.endpoint, json=self.patch_value)
619615
new_repository_info = repository_info.update(branch=self.patch_branch_value)
620616
assert mock_patch.call_count == 1
621617

622618
for key, value in self.patch_value.items():
623-
assert getattr(new_repository_info, key) == value
619+
assert new_repository_info[key] == value
624620

625621
@responses.activate
626622
def test_repository_delete(self):

0 commit comments

Comments
 (0)