Skip to content

Commit

Permalink
Merge pull request #1471 from frappe/fix-cache-test
Browse files Browse the repository at this point in the history
fix: app cache test
  • Loading branch information
18alantom committed Feb 23, 2024
2 parents 3c0d621 + 1ffdc5d commit 0e6df4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions press/press/doctype/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def add_source(
team=None,
github_installation_id=None,
public=False,
repository_owner=None,
) -> "AppSource":
existing_source = frappe.get_all(
"App Source",
Expand All @@ -43,6 +44,7 @@ def add_source(
"team": team,
"github_installation_id": github_installation_id,
"public": public,
"repository_owner": repository_owner,
}
).insert()
return source
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ def create_cache_test_apps(team: "Team") -> dict[str, "AppInfo"]:
f"https://github.com/frappe/{name}",
branch,
team.name,
repository_owner="frappe",
)
release = create_test_app_release(source, hash)
apps[name] = dict(app=app, source=source, release=release)
Expand Down

0 comments on commit 0e6df4c

Please sign in to comment.