mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
lint!
This commit is contained in:
parent
228e1c74c2
commit
fa100b9d16
@ -1,7 +1,8 @@
|
||||
from mitmproxy.tools.console.commander import commander
|
||||
from mitmproxy.test import taddons
|
||||
import pytest
|
||||
|
||||
from mitmproxy.test import taddons
|
||||
from mitmproxy.tools.console.commander import commander
|
||||
|
||||
|
||||
class TestListCompleter:
|
||||
def test_cycle(self):
|
||||
@ -265,6 +266,7 @@ class TestCommandBuffer:
|
||||
('commander_hint', 'option '),
|
||||
('commander_hint', 'value '),
|
||||
]
|
||||
|
||||
def test_render(self):
|
||||
with taddons.context() as tctx:
|
||||
cb = commander.CommandBuffer(tctx.master)
|
||||
@ -288,4 +290,4 @@ class TestCommandBuffer:
|
||||
('text', ' '),
|
||||
('commander_hint', 'option '),
|
||||
('commander_hint', 'value '),
|
||||
]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user