Is it possible to pass a dictionary argument to test-module, and if so, what does it look like?
Need to pass a couple of aws tags to a module for testing
hacking/test-module -m mymodule.py -a “key1=val1 key2=val2 dict1=???”
Is it possible to pass a dictionary argument to test-module, and if so, what does it look like?
Need to pass a couple of aws tags to a module for testing
hacking/test-module -m mymodule.py -a “key1=val1 key2=val2 dict1=???”
In case anyone runs across this, the solution was to eliminate all white space in the dictionary. See dict1 example below.
hacking/test-module -m your_module.py -a “key1=val1 key2=val2 dict1={‘foo’:‘bar’}”
Thanks for following up with what worked for you!
My pleasure!