From 9826e263f6608637dd4cc739c6fd16c457aad721 Mon Sep 17 00:00:00 2001 From: Olivier Demah Date: Sun, 8 Feb 2015 00:14:28 +0100 Subject: [PATCH] details to launch tests --- README.rst | 19 ++++++++++++++++++- requirements-dev.txt | 2 ++ requirements.txt | 1 - 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 requirements-dev.txt diff --git a/README.rst b/README.rst index 393cc66..5f99482 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,6 @@ Python API for Wallabagap Requirements : ============== -* Flask == 0.10.1 * requests == 2.5.0 @@ -18,6 +17,24 @@ to get the project, from your virtualenv, do : git clone https://github.com/foxmask/wallabag-api/ + +Testing : +========= +If you plan to run python wallabag_test.py, then first of all you will need to do + +.. code:: python + + pip install Flask + +then + +.. code:: python + + python wallabag_mock.py + +to start a Flask environment which will respond to all the request of the test you will start with python wallabag_test.py + + TODO : ====== diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..7e64a7d --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,2 @@ +-r requirements.txt +Flask==0.10.1 diff --git a/requirements.txt b/requirements.txt index fd501f2..8e9709c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -Flask==0.10.1 requests==2.5.0 \ No newline at end of file