Re: [PATCH v7 2/2] json-writer: t0019: add Python unit test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 6/6/2018 1:10 PM, Todd Zullinger wrote:
git@xxxxxxxxxxxxxxxxx wrote:
+# As a sanity check, ask Python to parse our generated JSON.  Let Python
+# recursively dump the resulting dictionary in sorted order.  Confirm that
+# that matches our expectations.
+test_expect_success PYTHON 'parse JSON using Python' '
[...]
+	python "$TEST_DIRECTORY"/t0019/parse_json_1.py <output.json >actual &&

Would this be better using $PYTHON_PATH rather than
hard-coding python as the command?


good catch!
thanks
Jeff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux