Skip to content

Commit

Permalink
Merge pull request #19 from NETWAYS/update-docs
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
martialblog authored Feb 12, 2024
2 parents 00a5947 + 0c4f55f commit fae6d7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Supported Modes:

## Installation

Python 3 is required, and you need the Python [requests](https://pypi.org/project/requests/) module.
Python 3.8 is required, and you need the Python [requests](https://pypi.org/project/requests/) module.

Please prefer installation via system packages like `python3-requests`.

Expand Down
4 changes: 4 additions & 0 deletions test_check_vmware_nsxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def test_commandline(self):
self.assertFalse(actual.insecure)
self.assertEqual(actual.max_age, 5)

def test_commandline_exclude(self):
actual = commandline(['-A', 'api', '-u', 'user', '-p', 'password', '-m', 'alarms', '--exclude', 'foo', '--exclude', 'bar'])
self.assertEqual(actual.exclude, ['foo', 'bar'])

def test_commandline_fromenv(self):
os.environ['CHECK_VMWARE_NSXT_API_USER'] = 'GEH'
os.environ['CHECK_VMWARE_NSXT_API_PASSWORD'] = 'HEIM'
Expand Down

0 comments on commit fae6d7e

Please sign in to comment.