mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-31 04:45:23 +08:00
10 lines
482 B
Python
10 lines
482 B
Python
from langbot.pkg.api.context import ExecutionContext, RequestContext
|
|
from langbot.pkg.api.http.context import ExecutionContext as HTTPExecutionContext
|
|
from langbot.pkg.api.http.context import RequestContext as HTTPRequestContext
|
|
|
|
|
|
def test_application_context_types_are_http_independent_and_compatibly_reexported():
|
|
assert RequestContext is HTTPRequestContext
|
|
assert ExecutionContext is HTTPExecutionContext
|
|
assert RequestContext.__module__ == 'langbot.pkg.api.context'
|