pypiserver/tests
Matthew Planchard a05d5a103b Update Tests for New Twine
* Updated .travis.yml to fix PEP 440 warnings
* Fixed twine calls

We were getting test failures on multiple branches in
`test_server.py`. I first investigated a warning message
popping up in every test run:

```
PEP440Warning,
/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'setuptools (git-0.4.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
```

Moving the installation of setuptools, pip, sphinx, and tox
into the `install` key for Travis resolved that issue, but
`test_server.py` tests were still failing. It turns out that
Twine 1.7.0 added support for SSL cert specification and,
in the process, changed the call signature for the `upload`
and `register` internal methods.

This PR fixes the calls so that they align with Twine's new
function signature. Note that tests now fail on Twine <1.7.0,
so I have also updated the dev requirements file.
2016-07-17 14:35:58 -05:00
..
__init__.py Added init.py to tests 2016-05-12 20:02:10 -05:00
centodeps-setup.py FIX test_server FC! 2015-09-20 11:11:57 +02:00
htpasswd.a.a PIP test-server. 2015-09-19 02:04:32 +02:00
sample_msg.html Use bottle's SimpleTemplate engine to avoid XSS on welcome-page (#77). 2015-02-22 18:43:35 +01:00
test_app.py Merge pull request #114 from blade2005/topic/allow-search-with-pip 2016-06-22 21:11:01 -05:00
test_core.py gpg, #106, test: Add TC for parsing all-filenames with .asc. 2016-01-19 18:41:53 +01:00
test_docs.py FIX #92: docs: Update version on README 2015-09-14 18:55:16 +02:00
test_init.py Added a test that fails in current master and succeeds in 2016-03-21 20:39:46 -05:00
test_main.py v1.2.0.dev1 (<--1.1.10): Stop supporting py<2.7 & py<3.3 (#107). 2016-01-20 20:05:47 +01:00
test_manage.py Add an optional in-memory cache to hold package list 2016-01-04 17:40:39 -05:00
test_server.py Update Tests for New Twine 2016-07-17 14:35:58 -05:00