Skip to content

Commit

Permalink
tests: Fix imports to tests/assertions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Dec 10, 2023
1 parent 604c0be commit 13b6c28
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Empty file added tests/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/integration/test_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from urllib.request import Request, urlopen

import pytest
from assertions import assert_cassette_has_one_response, assert_is_json_bytes
from ..assertions import assert_cassette_has_one_response, assert_is_json_bytes

import vcr

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_httplib2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest
import pytest_httpbin.certs
from assertions import assert_cassette_has_one_response
from ..assertions import assert_cassette_has_one_response

import vcr

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_requests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Test requests' interaction with vcr"""
import pytest
from assertions import assert_cassette_empty, assert_is_json_bytes
from ..assertions import assert_cassette_empty, assert_is_json_bytes

import vcr

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
import zlib

from assertions import assert_is_json_bytes
from ..assertions import assert_is_json_bytes

import vcr

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_tornado.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json

import pytest
from assertions import assert_cassette_empty, assert_is_json_bytes
from ..assertions import assert_cassette_empty, assert_is_json_bytes

import vcr
from vcr.errors import CannotOverwriteExistingCassetteException
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_urllib2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from urllib.request import urlopen

import pytest_httpbin.certs
from assertions import assert_cassette_has_one_response
from ..assertions import assert_cassette_has_one_response
from pytest import mark

# Internal imports
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_urllib3.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest
import pytest_httpbin
from assertions import assert_cassette_empty, assert_is_json_bytes
from ..assertions import assert_cassette_empty, assert_is_json_bytes

import vcr
from vcr.patch import force_reset
Expand Down

0 comments on commit 13b6c28

Please sign in to comment.