# -*- coding: utf-8 -*- from module.common import APIExerciser from nose.tools import nottest class TestApi: def __init__(self): self.api = APIExerciser.APIExerciser(None, True, "TestUser", "sometestpw") def test_login(self): assert self.api.api.login("crapp", "wrong pw") is False #@nottest def test_random(self): for i in range(0, 1000): self.api.testAPI()