splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Test files does not allow empty lines in .splunkrc

Open mraxus opened this issue 15 years ago • 3 comments

Using windows 7 x64

When using the .splunkrc for authentication, empty lines are not allowed to be used. If doing so, the file is not read correctly, giving HTTPError: HTTP 401 Unauthorized -- Login failed.

Verified for the files:

  • tests\test_binding.py
  • tests\test_client.py
  • tests\test_examples.py

mraxus avatar Nov 09 '11 18:11 mraxus

The splunkrc.spec contains empty rows. This is why the bug was detected.

mraxus avatar Nov 09 '11 18:11 mraxus

Thanks so much! We'll make sure to fix this.

itay avatar Nov 21 '11 18:11 itay

Fix checked into develop.

blovering avatar Feb 28 '12 05:02 blovering