Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from packaging import version

from posit import connect
from posit.connect.content import ContentItem, ContentItemRepository
from posit.connect.content import ContentItem
from posit.connect.repository import ContentItemRepository

from . import CONNECT_VERSION

Expand Down Expand Up @@ -76,12 +77,12 @@ def assert_repo(r: ContentItemRepository):

# Update
ex_branch = "main"
updated_repo = content_repo.update(branch=ex_branch)
assert updated_repo["branch"] == ex_branch
content_repo.update(branch=ex_branch)
assert content_repo["branch"] == ex_branch

assert updated_repo["repository"] == self.repo_repository
assert updated_repo["directory"] == self.repo_directory
assert updated_repo["polling"] is self.repo_polling
assert content_repo["repository"] == self.repo_repository
assert content_repo["directory"] == self.repo_directory
assert content_repo["polling"] is self.repo_polling

# Delete
content_repo.destroy()
Expand Down
142 changes: 0 additions & 142 deletions src/posit/connect/_api.py

This file was deleted.

72 changes: 0 additions & 72 deletions src/posit/connect/_api_call.py

This file was deleted.

37 changes: 0 additions & 37 deletions src/posit/connect/_json.py

This file was deleted.

Loading
Loading