Source

RIL / test_readitlater.py

Full commit
#!/usr/bin/env python2.6
# -*- coding: utf-8 -*-

import logging
import unittest

import readitlater
import test_configs as configs

"""Define test configurations in test_configs.py

RIL_API_KEY = '<your api key>'"""

class TestAuth(unittest.TestCase):
    def setUp(self):
        self.ril = readitlater.API(configs.RIL_API_KEY)

    def test_auth(self):
        pass

if __name__ == '__main__':
    logging.basicConfig(level=logging.DEBUG, filename='test.log')

    TEST_CASES = [
            TestAuth,
            ]
    for test_cls in TEST_CASES:
        testsuite = unittest.TestLoader().loadTestsFromTestCase(test_cls)
        unittest.TextTestRunner(verbosity=2).run(testsuite)