Adding test_suite

 * Added test_suite to setup.py.
 * Added anydo_tests module.
 * Moved tests.py to new "anydo_tests" directory.
 * Run tests with "python setup.py test".

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Adding test code of pep 8 as style guide for Python code.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Changing specify insert sys.path

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Applying MagicMock to get API (for list api)

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Adding test command and rename clean.sh script

 * Added test command.
   - python setup.py test
   - python setup.py check -r
   - pychecker
 * Moved clean.sh to anydo_tests/runtest.sh

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Renaming tests.py to test_api.py

 * Fixed not running tests.py with py.test why file name is invalid.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Fixing some problems of test_pep8

 * Append unittest.TestCase,
   why not running test_pep8 with "python setup.py test".
 * Append tests_require to setup.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Changing test directory path

 * Changed "anydo_tests/" to "anydo/tests/".
   - No "tests/" why "tests" conflict other python packages.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Append prepare pre-commit hook

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
satisfy pychecker
Merge branch 'adding_test' of https://github.com/mkouhei/python-anydo into mkouhei-adding_test
Correcting tests path for pychecker
Move runtest to bin/