Skip to content

Commit

Permalink
WIP: rewrite unit tests for snap_update_test script
Browse files Browse the repository at this point in the history
  • Loading branch information
pieqq committed Oct 18, 2023
1 parent 9404f0c commit 9b0ed7c
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 194 deletions.
10 changes: 6 additions & 4 deletions providers/base/tests/test_data/snap_update_test_data.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from pathlib import Path

snapd_list_sample = [
{
"channel": "22/stable",
Expand Down Expand Up @@ -296,10 +298,10 @@
]

snapd_seed_glob_data = [
"/var/lib/snapd/seed/snaps/firefox_2605.snap",
"/var/lib/snapd/seed/snaps/snapd_19267.snap",
"/var/lib/snapd/seed/snaps/pc-kernel_1289.snap",
"/var/lib/snapd/seed/snaps/core22_617.snap",
Path("/var/lib/snapd/seed/snaps/firefox_2605.snap"),
Path("/var/lib/snapd/seed/snaps/snapd_19267.snap"),
Path("/var/lib/snapd/seed/snaps/pc-kernel_1289.snap"),
Path("/var/lib/snapd/seed/snaps/core22_617.snap"),
]

snapd_list_firefox_snap = {
Expand Down
Loading

0 comments on commit 9b0ed7c

Please sign in to comment.