Skip to content

Commit

Permalink
fixup imports in tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Oct 10, 2023
1 parent 740cb4c commit 4cfc92a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from bolt11.models.routehint import RouteHint
from bolt11 import RouteHint


def check_decoded_routes(decoded_route_hints, example_route_hints):
Expand Down
4 changes: 1 addition & 3 deletions tests/test_route_hints.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from bolt11.decode import decode
from bolt11.encode import encode
from bolt11.types import Bolt11, RouteHint, Tag, TagChar, Tags
from bolt11 import Bolt11, RouteHint, Tag, TagChar, Tags, decode, encode

from .helpers import check_decoded_routes

Expand Down
5 changes: 1 addition & 4 deletions tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@

import pytest

from bolt11.decode import decode
from bolt11.encode import encode
from bolt11 import Bolt11, Tags, decode, encode
from bolt11.exceptions import (
Bolt11DescriptionException,
Bolt11InvalidDescriptionHashException,
Bolt11NoMinFinalCltvException,
Bolt11NoPaymentHashException,
Bolt11NoPaymentSecretException,
)
from bolt11.models.tags import Tags
from bolt11.types import Bolt11

ex = {
"currency": "bc",
Expand Down

0 comments on commit 4cfc92a

Please sign in to comment.