mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-14 03:52:22 -05:00
25 lines
514 B
Python
25 lines
514 B
Python
from __future__ import with_statement
|
|
|
|
import unittest
|
|
|
|
import sys
|
|
import datetime
|
|
import os.path
|
|
import string
|
|
|
|
sys.path.append(os.path.abspath('..'))
|
|
sys.path.append(os.path.abspath('../../../lib'))
|
|
|
|
import sickbeard
|
|
|
|
class APICheck(unittest.TestCase):
|
|
indexer_id = 2930
|
|
lang = "en"
|
|
|
|
lINDEXER_API_PARMS = sickbeard.indexerApi(2).api_params.copy()
|
|
t = sickbeard.indexerApi(2).indexer(**lINDEXER_API_PARMS)
|
|
epObj = t[2930]
|
|
print epObj
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main() |