From 9e0ef7f722c606863c7388ac5c606c7859038ff2 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 19 Jul 2014 02:15:02 +0200 Subject: Move test stuff to common directory --- tests/test_api.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 tests/test_api.py (limited to 'tests/test_api.py') diff --git a/tests/test_api.py b/tests/test_api.py deleted file mode 100644 index 99e84b3ab..000000000 --- a/tests/test_api.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python -# -*- 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", "pwhere") - - def test_login(self): - assert self.api.api.login("crapp", "wrong pw") is False - - #takes really long, only test when needed - @nottest - def test_random(self): - - for i in range(0, 100): - self.api.testAPI() -- cgit v1.2.3