mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: move templates/partials/widgets/* to templates/partials/
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
dbbae97038
commit
2feb9b90b2
6 changed files with 7 additions and 7 deletions
|
@ -142,7 +142,7 @@ def test_pager_no_results():
|
|||
""" Test the pager partial with no results. """
|
||||
num_packages = 0
|
||||
context = pager_context(num_packages)
|
||||
body = base_template("partials/widgets/pager.html").render(context)
|
||||
body = base_template("partials/pager.html").render(context)
|
||||
|
||||
root = parse_root(body)
|
||||
stats = root.xpath('//div[@class="pkglist-stats"]/p')
|
||||
|
@ -154,7 +154,7 @@ def test_pager():
|
|||
""" Test the pager partial with two pages of results. """
|
||||
num_packages = 100
|
||||
context = pager_context(num_packages)
|
||||
body = base_template("partials/widgets/pager.html").render(context)
|
||||
body = base_template("partials/pager.html").render(context)
|
||||
|
||||
root = parse_root(body)
|
||||
stats = root.xpath('//div[@class="pkglist-stats"]/p')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue