begin translations tests
This commit is contained in:
parent
1a40f32425
commit
82384918be
1
.flake8
1
.flake8
@ -1,2 +1,3 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 111
|
max-line-length = 111
|
||||||
|
per-file-ignores = tests/bridge/*:E501
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
# flake8: noqa: E501
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
from pynyaata2.bridge.animeultime import AnimeUltime
|
from pynyaata2.bridge.animeultime import AnimeUltime
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# flake8: noqa: E501
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from pynyaata2.bridge.nyaa import Nyaa, EraiRaws
|
from pynyaata2.bridge.nyaa import EraiRaws, Nyaa
|
||||||
from pynyaata2.types import Color, RemoteFile
|
from pynyaata2.types import Color, RemoteFile
|
||||||
|
|
||||||
from pytest import mark
|
from pytest import mark
|
||||||
|
@ -53,3 +53,4 @@ def test_trusted(monkeypatch: MonkeyPatch):
|
|||||||
|
|
||||||
assert alter_remotes[0].color == Color.PRIMARY
|
assert alter_remotes[0].color == Color.PRIMARY
|
||||||
assert alter_remotes[1].color == Color.PRIMARY
|
assert alter_remotes[1].color == Color.PRIMARY
|
||||||
|
assert alter_remotes[2].color == Color.DEFAULT
|
||||||
|
0
tests/translations_test.py
Normal file
0
tests/translations_test.py
Normal file
Reference in New Issue
Block a user