mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: TU rename - UI elements
Rename all UI elements and translations. Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
1702075875
commit
f540c79580
76 changed files with 952 additions and 1143 deletions
|
@ -634,7 +634,7 @@ def test_tu_running_proposal(
|
|||
|
||||
active = details.xpath('./div[contains(@class, "field")]')[1]
|
||||
content = active.text.strip()
|
||||
assert "Active Trusted Users assigned:" in content
|
||||
assert "Active Package Maintainers assigned:" in content
|
||||
assert "1" in content
|
||||
|
||||
submitted = details.xpath('./div[contains(@class, "submitted")]/text()')[0]
|
||||
|
@ -796,7 +796,7 @@ def test_tu_proposal_vote_unauthorized(
|
|||
|
||||
root = parse_root(response.text)
|
||||
status = root.xpath('//span[contains(@class, "status")]/text()')[0]
|
||||
assert status == "Only Trusted Users are allowed to vote."
|
||||
assert status == "Only Package Maintainers are allowed to vote."
|
||||
|
||||
with client as request:
|
||||
data = {"decision": "Yes"}
|
||||
|
@ -806,7 +806,7 @@ def test_tu_proposal_vote_unauthorized(
|
|||
|
||||
root = parse_root(response.text)
|
||||
status = root.xpath('//span[contains(@class, "status")]/text()')[0]
|
||||
assert status == "Only Trusted Users are allowed to vote."
|
||||
assert status == "Only Package Maintainers are allowed to vote."
|
||||
|
||||
|
||||
def test_tu_proposal_vote_cant_self_vote(client, proposal):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue