splunk/splunk-sdk-python — Issue #19: Test files does not handle authentication arguments
Author: coztic
Created: 2011-11-09 01:26:04+00:00
State: open

Tested on Windows 7 x64.

When running the test cases:
* test_binding.py
* test_client.py
* test_data.py
* test_examples.py

Only test_binding.py can handle the --username and --password arguments. The rest of the files does not recognize the arguments.

### Example:
> python test_binding.py --username=admin --password=changeme
..........
----------------------------------------------------------------------
Ran 10 tests in 2.247s

OK

> python test_examples.py --username=admin --password=changeme
option --username not recognized
Usage: test_examples.py [options] [test] [...]

Options:
...