Skip to content

Commit

Permalink
test: backwards compatability import from http module cloudevents#190
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
  • Loading branch information
sasha-tkachev committed Aug 22, 2022
1 parent 258af22 commit 67337d3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cloudevents/tests/test_backwards_compatability.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,19 @@ def test_util():

def test_event_type():
from cloudevents.http.event_type import is_binary, is_structured # noqa


def test_http_module_imports():
from cloudevents.http import (
to_binary,
to_structured,
from_json,
from_http,
from_dict,
CloudEvent,
is_binary,
is_structured,
to_binary_http,
to_structured_http,
to_json,
) # noqa

0 comments on commit 67337d3

Please sign in to comment.