Simon Lin
c1e2e168d6
[tests] set default node parameters ( #6593 )
...
This commit set default node parameters and remove unnecessary
parameters in topologies.
- router selection jitter to 1s
- panid to 0xface
2021-05-11 12:56:33 -07:00
Jonathan Hui
dc9b032dad
[mle] remove secure data request mode bit ( #5560 )
...
- Always set to 1 on transmission.
- Always ignore on reception.
2020-09-29 15:30:37 -07:00
Jonathan Hui
5bffd8bc4d
[mac-filter] change whitelist/blacklist to allowlist/denylist ( #5507 )
...
To promote inclusivity and eliminate any unintentional bias.
2020-09-11 16:03:39 -07:00
Simon Lin
8e124e6fac
[cert] capitalize python class constants ( #5080 )
...
According to PEP8, constants should be written in all capital letters.
This commit capitalizes these constants:
- thread_cert.TestCase.topology
- thread_cert.TestCase.support_ncp
2020-06-10 18:14:59 -07:00
Simon Lin
e5069a41d5
[scripts] update cert tests to use thread_cert.TestCase ( #4874 )
...
- Update all test cases to inherit thread_cert.TestCase and update
topologies accordingly. The topologies should all be correct because
they are automatically generated, not hand written.
- Use default Thread version: 1.1
- Cleanup node tmp files in tmp directory according to the current
PORT_OFFSET in setUp. This is required by
test_reed_address_solicit_rejected.py and test_coap_observe.py since
they define multiple test functions in one TestCase.
- Removed call to set_extaddr64 because it's not necessary and causing
failures.
2020-04-29 10:41:04 -07:00
Yakun Xu
33808ebfba
[style] apply google python style guide ( #4501 )
...
This commit applies and enforces Google's python style for tests.
2020-02-04 10:27:50 -08:00
Jonathan Hui
43be2b821f
[tests] require python3 and drop support for python2 ( #4220 )
2019-10-04 11:03:58 -07:00
Jonathan Hui
f924adcb60
[style] update python style to conform to PEP 8 ( #3951 )
...
With the exception of line length set to 119 vs. 79.
Add tests/ and tools/ to py-pretty-check.
2019-07-11 11:45:55 -04:00
Yakun Xu
af2bfc1cc4
[test] save packets as pcap file in thread-cert tests ( #2965 )
2018-08-20 09:27:04 -07:00
Giuseppe Andreello
6d8d42e9bf
Fixed python interpreter directives ( #1667 )
...
Changed the interpreter directives from '#!/usr/bin/python' to
'#!/usr/bin/env python' so the OpenThread tests can be run
inside a python virtualenv.
2017-04-26 21:23:02 -07:00
Jonathan Hui
9096c98f01
Increase attach timeout to 5 seconds to account for random delays. ( #700 )
2016-09-27 13:34:48 -07:00
Jonathan Hui
44350178ad
Change copyright to The OpenThread Authors. ( #583 )
...
- Add a top-level file named AUTHORS which identifies the copyright
holders of the project.
2016-09-13 15:57:11 -07:00
Jonathan Hui
9754e72496
Add python3 support. ( #270 )
2016-07-21 06:31:34 -07:00
Marcin K Szczodrak
99870fae01
adjust license text width ( #22 )
2016-05-12 22:39:11 -07:00
Jonathan Hui
4f9945c533
Initial commit
2016-05-10 22:49:53 -07:00