Skip to content
Snippets Groups Projects
Commit 14b4e917 authored by Dan Michael O. Heggø's avatar Dan Michael O. Heggø
Browse files

Separate automated tests and examples

- Keep automated tests to be run with py.test in './tests/'
  and examples in './examples/'
- Rename test to adhere to 'Conventions for Python test discovery'
  (http://pytest.org/latest/goodpractises.html#test-discovery)
parent 64a51955
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ install:
#- python setup.py install
before_script:
- pip install -r test_requirements.txt --use-mirrors
- pip install -r requirements-dev.txt --use-mirrors
script:
- py.test --pep8 mwclient -v --doctest-modules tests/client-test.py
File moved
File moved
File moved
File moved
#encoding=utf-8
# encoding=utf-8
import unittest
import sys
import os
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment