Merge pull request #254 from RubenPX/patch-1

Fix minor typos
This commit is contained in:
Santiago L 2022-05-06 20:17:36 +02:00 committed by GitHub
commit 84b384c47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#Devicehub # Devicehub
Devicehub is a distributed IT Asset Management System focused in reusing devices, created under the project [eReuse.org](https://www.ereuse.org) Devicehub is a distributed IT Asset Management System focused in reusing devices, created under the project [eReuse.org](https://www.ereuse.org)

View File

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

View File

@ -7,7 +7,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ url_for('inventory.devicelist')}}">Inventory</a></li> <li class="breadcrumb-item"><a href="{{ url_for('inventory.devicelist')}}">Inventory</a></li>
{% if not lot %} {% if not lot %}
<li class="breadcrumb-item active">Unassgined</li> <li class="breadcrumb-item active">Unassigned</li>
{% elif lot.is_temporary %} {% elif lot.is_temporary %}
<li class="breadcrumb-item active">Temporary Lot</li> <li class="breadcrumb-item active">Temporary Lot</li>
<li class="breadcrumb-item active">{{ lot.name }}</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/') body, status = user3.get('/inventory/device/')
assert status == '200 OK' assert status == '200 OK'
assert "Unassgined" in body assert "Unassigned" in body
@pytest.mark.mvp @pytest.mark.mvp
@ -184,7 +184,7 @@ def test_inventory_with_device(user3: UserClientFlask):
body, status = user3.get('/inventory/device/') body, status = user3.get('/inventory/device/')
assert status == '200 OK' assert status == '200 OK'
assert "Unassgined" in body assert "Unassigned" in body
assert db_snapthot.device.devicehub_id 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}') body, status = user3.get(f'/inventory/device/?filter=Laptop&csrf_token={csrf}')
assert status == '200 OK' assert status == '200 OK'
assert "Unassgined" in body assert "Unassigned" in body
assert db_snapthot.device.devicehub_id in body assert db_snapthot.device.devicehub_id in body