summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix functional testsPrashanth Pai2014-05-192-75/+0
| | | | | | | | | | | | | | * The order of elements in list returned by listdir() can vary and may not be sorted. This caused assertEqual in "test_listdir" to fail. * Also, some systems may have xattrs belonging to selinux. So, a listxattr can list them too. * Allow hostname/ip and volume name to be configured easily by setting it in test.conf. This enables functional tests to use a non-local volume. * Cleanup volume before and after running functional tests. * Added MANIFEST.in and LICENSE file Change-Id: Icfa6eb60e8d8e7ed4d6ab8190a2a2c80688999a3 Signed-off-by: Prashanth Pai <ppai@redhat.com>
* Fix minor typo in unit testPrashanth Pai2014-03-261-4/+1
| | | | | | | | | * Changed package to be covered from gluster to glusterfs. * Also, added script to run unit tests without tox. * Updated setup.py to be more specific. Change-Id: I148f522153b75f066753a807719e38699d48b1fd Signed-off-by: Prashanth Pai <ppai@redhat.com>
* add mode parameter to mkdir methodThiago da Silva2014-01-291-1/+1
| | | | | | | | add mode parameter to mkdir to allow setting the dir access mode when the directory is being created Change-Id: I6f1ed0c8800fb65a30448e6082cf55b8220a06d4 Signed-off-by: Thiago da Silva <thiago@redhat.com>
* running functest with sudo for nowThiago da Silva2014-01-241-1/+1
| | | | | | | | Need to fix issue with libgfapi allowing only apps with root access to mount volume Change-Id: I21a06e6941969b34b3974dd786855bfe5cf3856b Signed-off-by: Thiago da Silva <thiago@redhat.com>
* first libgfapi-python functional testsThiago da Silva2014-01-222-0/+66
| | | | | | | | adding a few functional tests and removing old tests from source code Change-Id: Iefcb091d614f2825592943cfb42847b5865322c6 Signed-off-by: Thiago da Silva <thiago@redhat.com>
* added support for with statements in open and creatThiago da Silva2014-01-161-0/+1
| | | | | | | | | when creating or opening a File, caller should now use python's with statement as specified on PEP 343: http://www.python.org/dev/peps/pep-0343/ Change-Id: Id98613e310bea01a427769d3ad7b0dea97245b04 Signed-off-by: Thiago da Silva <thiago@redhat.com>
* Add missing file for pep8 to be able to runLuis Pabon2013-12-051-0/+11
Change-Id: I6545f0786779185bc1805643f8db0de2ac21995a Signed-off-by: Luis Pabon <lpabon@redhat.com>