summaryrefslogtreecommitdiffstats
path: root/deluge/tests/test_torrent.py
diff options
context:
space:
mode:
authorbendikro <bendikro@gmail.com>2014-09-21 16:37:29 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2014-09-25 14:11:51 +0100
commit66f2739be7cda3d610095cb8c1b1c9edbf006967 (patch)
treec71a980b5f69a6af4b4769e9937d3658154b0574 /deluge/tests/test_torrent.py
parent8dc9a0773cf237033a00a936385257d6481e1715 (diff)
downloaddeluge-66f2739be7cda3d610095cb8c1b1c9edbf006967.tar.gz
deluge-66f2739be7cda3d610095cb8c1b1c9edbf006967.tar.bz2
deluge-66f2739be7cda3d610095cb8c1b1c9edbf006967.zip
Added .travis.yml (for travis-ci) and tox.ini files
Targets: * Runs the unit-tests for python 2.7 * Tests unit-test coverage * Try to build docs * Code style checks: * flake8 * isort Codes changes: * Fixed tests for httpdownloader (using tmp dir) * Implemented a couple of tests for Stats plugin but they fail to run on travis Issues: * Can't get py26 to work because of installing libtorrent through apt and the option system_site_packages fails for 2.6.
Diffstat (limited to 'deluge/tests/test_torrent.py')
-rw-r--r--deluge/tests/test_torrent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py
index 9ccdc33c9..53e0356a3 100644
--- a/deluge/tests/test_torrent.py
+++ b/deluge/tests/test_torrent.py
@@ -7,12 +7,13 @@ from twisted.trial import unittest
import deluge.component as component
import deluge.core.torrent
-import deluge.tests.common as common
from deluge._libtorrent import lt
from deluge.core.core import Core
from deluge.core.rpcserver import RPCServer
from deluge.core.torrent import Torrent
+from . import common
+
config_setup = False
core = None
rpcserver = None