Skip to content

Commit

Permalink
add test for auth string function
Browse files Browse the repository at this point in the history
  • Loading branch information
PH-KDX committed Jan 2, 2024
1 parent bad616c commit f3bd925
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_internal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from flightplandb.internal import _auth_str


def test_auth_str():
input_key = "test123!"
expected_output_encoding = "Basic dGVzdDEyMyE6"
assert _auth_str(input_key) == expected_output_encoding

0 comments on commit f3bd925

Please sign in to comment.