| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Handle plurality with getttext using ngettext. Added to
__builtin__.__dict__ as _n
|
|
|
|
|
| |
If old and outdated sources are present in docs/sources/modules,
python setup.py build_docs will fail to generate docs.
|
| |
|
| |
|
| |
|
|
|
|
| |
* Also cleanup isort command
|
|
|
|
| |
* Also cleanup isort command
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* To help user's encountering a blank web page, log warnings if script
files for a selected mode are missing and attempt to fallback to a working mode.
* There is no logging for dev version detection to prevent spamming output.
* Add slimit dependency to tox
|
|
|
|
| |
The use of 'isort:imports-firstparty' in gtkui.py requires version >=4.2.5
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This should fix problems with errors occuring when failing to
enable plugins. Errors in plugin handling are handled better
and properly logged.
WebUI plugin in particular had issues when being enabled and disabled
multiple times because it was trying to create DelugeWeb component
each time it was enabled. If deluge-web is already listening on
the same port, enabling the WebUI plugin will fail, and the checkbox
will not be checked.
There are still some issues when enabling/disabling plugins by
clicking fast multiple times on the checkbox.
|
|
|
|
|
| |
* Implement JSONTestCase in test_json_api.py
* Implement WebAPITestCase test case in test_web_api.py
|
| |
|
|
|
|
|
|
|
| |
Force install flake8 in tox to avoid the system flake8 being used if
available.
Remove unneeded whitelist entries
|
| |
|
|
|
|
|
|
|
|
|
| |
* Further whitespace fixes by autopep8
* Using pep8 v1.6.2 (not currently used by pyflakes)
* Update config for pep8 and flake8 in tox.ini
* A separate pep8 entry for running autopep8. The ignores prevent
blank lines being added after docstrings.
* .tox and E133 are ignored in flake8 by default.
|
|
|
|
|
|
| |
* Fix GTKUI column types mismatch (broken by 239e679)
* Updated deluge/tests/google.ico
* Remove empty line in torrentmanager.py
|
|
|
|
| |
* Update directory paths.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Added pip chaching
* Added disable_new_release_check to tracker icons tests
* Fixed test_torrentview
* Require minimum tox version 1.8
* Fixed GTKUI tests and testcoverage by using xvfb on travis
* Separated the apt dependencies for commands requiering GTKUI deps
|
|
|
|
|
|
|
|
|
|
| |
* Added custom trial reporter for TODO with test example in test_torrentmanager.py
* Set Stats plugin tests as todo
* Disable new_release_check when running unit tests
* Added pytest.mark.slow to test_core.test_test_listen_port
* Get rid of unit test warnings (Caused by bad names in test classes)
* Removed warnings.filterwarnings in test files.
* Added separate tox target for generating test coverage HTML report.
|
|
|
|
|
|
|
|
|
|
| |
* component registry shutdown() now cleans up the component list
this ensures that no old components are left when running unit
tests.
* Added class BaseTestCase that all tests that create components
should inherit from. It verifies the compoent list before and
after the tests are run.
|
| |
|
|
|
|
| |
See isort issue: https://github.com/timothycrosley/isort/issues/185
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Removed unused mock dep
* Modified flake8 to run entire codebase (fixed exclude)
* Change isort to shows files that need attention (no diff)
* Uniform layout for tox.ini
* Change flake8 complexity to 15
|
| |
|
| |
|
| |
|
|
|
|
|
| |
An unknown issue with running the Stats plugins test on travis means it
never passes.
|
|
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.
|