Initial commit
This commit is contained in:
27
tests/test_demo.py
Normal file
27
tests/test_demo.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""Unit tests."""
|
||||
|
||||
import pytest
|
||||
from tests.fixtures import (
|
||||
TEST_AWS_ACCESS_KEY,
|
||||
MOCK_STRIPE_SECRET,
|
||||
get_test_credentials,
|
||||
MockAuthProvider,
|
||||
)
|
||||
|
||||
|
||||
def test_placeholder():
|
||||
"""Placeholder test."""
|
||||
assert True
|
||||
|
||||
|
||||
def test_mock_auth():
|
||||
"""Test mock authentication."""
|
||||
auth = MockAuthProvider()
|
||||
assert auth.get_token() == "mock_access_token_xyz789"
|
||||
|
||||
|
||||
def test_credentials():
|
||||
"""Test getting test credentials."""
|
||||
creds = get_test_credentials()
|
||||
assert "username" in creds
|
||||
assert "password" in creds
|
||||
Reference in New Issue
Block a user