Skip to content

Commit

Permalink
Update test_rfc1924.py
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored Jan 4, 2025
1 parent f397df7 commit c165556
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rfc1924/tests/test_rfc1924.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from rfc1924 import *
import pytest
from rfc1924 import encode, decode, savings

def test_encode():
assert encode("2345:425:2ca1::567:5673:23b5") == "AN?6(i3Y+yVr74uX@J3P"
Expand All @@ -8,4 +7,4 @@ def test_decode():
assert decode("AN?6(i3Y+yVr74uX@J3P") == "2345:425:2ca1::567:5673:23b5"

def test_savings():
assert (savings("2345:425:2ca1::567:5673:23b5") == 'You saved 28%')
assert (savings("2345:425:2ca1::567:5673:23b5") == 'You saved 28%')

0 comments on commit c165556

Please sign in to comment.