mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-21 22:58:24 +00:00
minor fixes
This commit is contained in:
parent
79896e23b7
commit
adfccb90a5
@ -39,15 +39,18 @@ def console(monkeypatch):
|
||||
return m
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
def test_integration(tdata, console):
|
||||
console.type(f":view.flows.load {tdata.path('mitmproxy/data/dumpfile-7.mitm')}<enter>")
|
||||
console.type("<enter><tab><tab>")
|
||||
console.type("<space><tab><tab>") # view second flow
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
def test_options_home_end(console):
|
||||
console.type("O<home><end>")
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
def test_keybindings_home_end(console):
|
||||
console.type("K<home><end>")
|
||||
console.type("K<home><end>")
|
||||
|
@ -14,6 +14,7 @@ export interface OptionsState {
|
||||
ciphers_server: string | undefined
|
||||
client_certs: string | undefined
|
||||
client_replay: string[]
|
||||
client_replay_concurrency: number
|
||||
command_history: boolean
|
||||
confdir: string
|
||||
connection_strategy: string
|
||||
@ -99,6 +100,7 @@ export const defaultState: OptionsState = {
|
||||
ciphers_server: undefined,
|
||||
client_certs: undefined,
|
||||
client_replay: [],
|
||||
client_replay_concurrency: 1,
|
||||
command_history: true,
|
||||
confdir: "~/.mitmproxy",
|
||||
connection_strategy: "eager",
|
||||
|
Loading…
Reference in New Issue
Block a user