Exemple #1
0
from datetime import datetime
import pytest

from conftest import client

# PREPARATIONS

pytestmark = pytest.mark.asyncio
user = client.run(client.search_user('NeKitDS'))

message = ('[gd.py] ({}): Running tests...'.format(datetime.utcnow()))


# MAIN TESTS
async def test_properties():
    user.stars
    user.demons
    user.cp
    user.diamonds
    user.coins
    user.user_coins
    user.lb_place
    user.role
    user.rank
    user.youtube
    user.youtube_link
    user.twitter
    user.twitter_link
    user.twitch
    user.twitch_link
    user.msg_policy
Exemple #2
0
from datetime import datetime
import pytest

from conftest import client

# PREPARATIONS

pytestmark = pytest.mark.asyncio
user = client.run(client.search_user("NeKitDS"))

message = "[gd.py] ({}): Running tests...".format(datetime.utcnow())


# MAIN TESTS
async def test_properties():
    user.stars
    user.demons
    user.cp
    user.diamonds
    user.coins
    user.user_coins
    user.lb_place
    user.role
    user.rank
    user.youtube
    user.youtube_link
    user.twitter
    user.twitter_link
    user.twitch
    user.twitch_link
    user.message_policy
Exemple #3
0
from datetime import datetime
import pytest

from conftest import client

# PREPARATIONS

pytestmark = pytest.mark.asyncio
user = client.run(client.search_user("nekitdev"))

message = "[gd.py] ({}): Running tests...".format(datetime.utcnow())


# MAIN TESTS
async def test_properties():
    user.stars
    user.demons
    user.cp
    user.diamonds
    user.coins
    user.user_coins
    user.place
    user.role
    user.rank
    user.youtube
    user.youtube_link
    user.twitter
    user.twitter_link
    user.twitch
    user.twitch_link
    user.message_policy