File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
integration/tests/posit/connect Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 22from packaging import version
33
44from posit import connect
5- from posit .connect .content import ContentItem , ContentItemRepository
5+ from posit .connect ._repository import ContentItemRepository
6+ from posit .connect .content import ContentItem
67from posit .connect .resources import _Resource
78
89from . import CONNECT_VERSION
@@ -77,12 +78,12 @@ def assert_repo(r: ContentItemRepository):
7778
7879 # Update
7980 ex_branch = "main"
80- updated_repo = content_repo .update (branch = ex_branch )
81- assert updated_repo ["branch" ] == ex_branch
81+ content_repo .update (branch = ex_branch )
82+ assert content_repo ["branch" ] == ex_branch
8283
83- assert updated_repo ["repository" ] == self .repo_repository
84- assert updated_repo ["directory" ] == self .repo_directory
85- assert updated_repo ["polling" ] is self .repo_polling
84+ assert content_repo ["repository" ] == self .repo_repository
85+ assert content_repo ["directory" ] == self .repo_directory
86+ assert content_repo ["polling" ] is self .repo_polling
8687
8788 # Delete
8889 content_repo .destroy ()
You can’t perform that action at this time.
0 commit comments