mostly working shape?
This commit is contained in:
parent
3057cda8d3
commit
540a3cc884
10 changed files with 462 additions and 183 deletions
|
|
@ -13,7 +13,8 @@ class DummyStateManager:
|
|||
|
||||
def make_handler():
|
||||
# context is not used for _detect_company
|
||||
return ApplicationHandler(browser_context=None, state_manager=DummyStateManager())
|
||||
class DummyContext: pass
|
||||
return ApplicationHandler(browser_context=DummyContext(), state_manager=DummyStateManager())
|
||||
|
||||
def test_detect_company_domains():
|
||||
handler = make_handler()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue