mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Moaaar linter/test fixes zbgrbl
This commit is contained in:
parent
b0fd78657e
commit
2bb9b9a2eb
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
import pytest
|
||||
|
||||
from moulinette import MoulinetteError
|
||||
from moulinette import m18n
|
||||
|
||||
|
||||
class TestAuthAPI:
|
||||
|
@ -72,7 +71,7 @@ class TestAuthAPI:
|
|||
def test_login_bad_password(self, moulinette_webapi):
|
||||
assert (
|
||||
self.login(moulinette_webapi, password="Bad Password", status=401).text
|
||||
== "Invalid password"
|
||||
== "invalid_password"
|
||||
)
|
||||
|
||||
assert "session.moulitest" not in moulinette_webapi.cookies
|
||||
|
|
Loading…
Reference in a new issue