Skip to content

Commit

Permalink
Another tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesJeffryes committed May 20, 2020
1 parent ad45197 commit 301d64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clickplc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def command_line():
parser = argparse.ArgumentParser(description="Control a ClickPLC from "
"the command line")
parser.add_argument('address', help="The IP address of the ClickPLC")
parser.add_argument('tags_file', default=None,
parser.add_argument('tags_file', default=None, required=False,
help="Optional: Path to a tags file for this PLC")
args = parser.parse_args()

Expand Down
2 changes: 1 addition & 1 deletion clickplc/tests/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_unsupported_tags():
async def test_tagged_driver(tagged_driver, expected_tags):
await tagged_driver.set('VAH_101_OK', True)
state = await tagged_driver.get()
assert state.get('VAH_101_OK') is True
assert state.get('VAH_101_OK')
assert expected_tags.keys() == state.keys()


Expand Down

0 comments on commit 301d64e

Please sign in to comment.