summaryrefslogtreecommitdiffstats
path: root/test/py/tests/test_net.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-27 08:11:13 -0700
committerTom Rini <trini@konsulko.com>2019-01-15 15:28:41 -0500
commit871bf7d9baba0ebb0485c01657399b2a339daa20 (patch)
tree20e86fa80fc72abb880a245d7576fa878908331f /test/py/tests/test_net.py
parenta50eb64915fd2e4775684b0dee98fb5d322ee4e4 (diff)
downloadu-boot-871bf7d9baba0ebb0485c01657399b2a339daa20.tar.gz
u-boot-871bf7d9baba0ebb0485c01657399b2a339daa20.tar.xz
u-boot-871bf7d9baba0ebb0485c01657399b2a339daa20.zip
test: Use single quote consistently
Some tests have ended up using double quotes where single quotes could be used. Adjust this for consistency with the rest of U-Boot's Python code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test/py/tests/test_net.py')
-rw-r--r--test/py/tests/test_net.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index 2821ce65da..9c395e69fa 100644
--- a/test/py/tests/test_net.py
+++ b/test/py/tests/test_net.py
@@ -33,27 +33,27 @@ env__net_dhcp_server = True
# static IP. If solely relying on DHCP, this variable may be omitted or set to
# an empty list.
env__net_static_env_vars = [
- ("ipaddr", "10.0.0.100"),
- ("netmask", "255.255.255.0"),
- ("serverip", "10.0.0.1"),
+ ('ipaddr', '10.0.0.100'),
+ ('netmask', '255.255.255.0'),
+ ('serverip', '10.0.0.1'),
]
# Details regarding a file that may be read from a TFTP server. This variable
# may be omitted or set to None if TFTP testing is not possible or desired.
env__net_tftp_readable_file = {
- "fn": "ubtest-readable.bin",
- "addr": 0x10000000,
- "size": 5058624,
- "crc32": "c2244b26",
+ 'fn': 'ubtest-readable.bin',
+ 'addr': 0x10000000,
+ 'size': 5058624,
+ 'crc32': 'c2244b26',
}
# Details regarding a file that may be read from a NFS server. This variable
# may be omitted or set to None if NFS testing is not possible or desired.
env__net_nfs_readable_file = {
- "fn": "ubtest-readable.bin",
- "addr": 0x10000000,
- "size": 5058624,
- "crc32": "c2244b26",
+ 'fn': 'ubtest-readable.bin',
+ 'addr': 0x10000000,
+ 'size': 5058624,
+ 'crc32': 'c2244b26',
}
"""