From c3e6d6b54741cfbc828272ace576339ae3a37173 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Wed, 17 Dec 2014 21:43:57 +0530 Subject: geo-rep: Unit tests infrastructure for geo-replication Added sample unit test file, $GLUSTER_SRC/geo-replication/tests/unit/test_syncdutils.py Install unittest dependencies, (tox https://tox.readthedocs.org/en/latest/, nose https://nose.readthedocs.org/en/latest/) sudo pip install --upgrade tox nose To run pep8 coding standards tests, cd $GLUSTER_SRC/geo-replication tox -e pep8 To run unit tests, cd $GLUSTER_SRC/geo-replication tox -e py27 py27 is for with Python 2.7+, or py26 for systems with Python 2.6+ Change-Id: Ibdefe2c9d73afda9a7fa1c0db5b126f592b7cb40 BUG: 1177722 Signed-off-by: Aravinda VK Reviewed-on: http://review.gluster.org/9290 Tested-by: Gluster Build System Reviewed-by: Prashanth Pai Reviewed-by: Vijay Bellur --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 29d72edcd63..9cd081a376f 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,10 @@ cli/src/gluster contrib/fuse-util/fusermount-glusterfs geo-replication/src/gsyncd api/src/gfapi.map +geo-replication/syncdaemon.egg-info +geo-replication/tests/unit/cover +geo-replication/tests/unit/coverage.xml +geo-replication/tests/unit/nosetests.xml +geo-replication/tests/unit/results.html +geo-replication/.tox +geo-replication/tests/unit/.coverage -- cgit