aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-12 22:50:33 -0500
committerHenrique <typoon@gmail.com>2019-11-12 22:50:33 -0500
commiteee4b24e98b76b1eb33804d21264c5117a5c913c (patch)
tree6c0cb094c0757a72616613352183f23cf6777430 /test
parent578eb7239cf073ee9dd526542ca19ff6c23ae61c (diff)
downloadmitmproxy-eee4b24e98b76b1eb33804d21264c5117a5c913c.tar.gz
mitmproxy-eee4b24e98b76b1eb33804d21264c5117a5c913c.tar.bz2
mitmproxy-eee4b24e98b76b1eb33804d21264c5117a5c913c.zip
Fixing issues reported by the linter
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_lexer.py1
-rw-r--r--test/mitmproxy/tools/console/test_defaultkeys.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_lexer.py b/test/mitmproxy/test_lexer.py
index c8b30fc6..ae706407 100644
--- a/test/mitmproxy/test_lexer.py
+++ b/test/mitmproxy/test_lexer.py
@@ -61,4 +61,3 @@ class TestScripts:
lex = lexer.Lexer(text)
with pytest.raises(ValueError, match="No closing quotation"):
assert list(lex)
-
diff --git a/test/mitmproxy/tools/console/test_defaultkeys.py b/test/mitmproxy/tools/console/test_defaultkeys.py
index be8e39f8..035f71f7 100644
--- a/test/mitmproxy/tools/console/test_defaultkeys.py
+++ b/test/mitmproxy/tools/console/test_defaultkeys.py
@@ -6,6 +6,7 @@ from mitmproxy import command
import pytest
+
@pytest.mark.asyncio
async def test_commands_exist():
km = keymap.Keymap(None)