19 lines
436 B
Python
19 lines
436 B
Python
|
import os
|
||
|
import sys
|
||
|
sys.path.append(os.path.join(os.path.dirname(__file__), '..')) # Add parent directory to system path
|
||
|
|
||
|
from tests.utils import test
|
||
|
|
||
|
from src.profile import Profile
|
||
|
|
||
|
def test_profiles_get(client):
|
||
|
|
||
|
print ("GET")
|
||
|
|
||
|
test(client.profiles.get(1), Profile(username="997e13f5-474d-4fea-b55a-ad8a27b9534b", title=""), "normal")
|
||
|
|
||
|
print()
|
||
|
|
||
|
def test_profiles(client):
|
||
|
|
||
|
test_profiles_get(client)
|