Fix typo: Unassgined to Unassigned #3339

This commit is contained in:
Santiago L 2022-05-06 20:15:35 +02:00
parent 02cb36371a
commit 4c16065afa
3 changed files with 5 additions and 5 deletions

View File

@ -252,7 +252,7 @@ class UserClientFlask:
)
self.headers = headers
body = next(body).decode("utf-8")
assert "Unassgined" in body
assert "Unassigned" in body
def get(
self,

View File

@ -7,7 +7,7 @@
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ url_for('inventory.devicelist')}}">Inventory</a></li>
{% if not lot %}
<li class="breadcrumb-item active">Unassgined</li>
<li class="breadcrumb-item active">Unassigned</li>
{% elif lot.is_temporary %}
<li class="breadcrumb-item active">Temporary Lot</li>
<li class="breadcrumb-item active">{{ lot.name }}</li>

View File

@ -72,7 +72,7 @@ def test_inventory(user3: UserClientFlask):
body, status = user3.get('/inventory/device/')
assert status == '200 OK'
assert "Unassgined" in body
assert "Unassigned" in body
@pytest.mark.mvp
@ -184,7 +184,7 @@ def test_inventory_with_device(user3: UserClientFlask):
body, status = user3.get('/inventory/device/')
assert status == '200 OK'
assert "Unassgined" in body
assert "Unassigned" in body
assert db_snapthot.device.devicehub_id in body
@ -197,7 +197,7 @@ def test_inventory_filter(user3: UserClientFlask):
body, status = user3.get(f'/inventory/device/?filter=Laptop&csrf_token={csrf}')
assert status == '200 OK'
assert "Unassgined" in body
assert "Unassigned" in body
assert db_snapthot.device.devicehub_id in body