Merge branch 'bugfix/sntp_example_test_v4.2' into 'release/v4.2'
Fix SNTP example test to match pattern (v4.2) See merge request espressif/esp-idf!9447
This commit is contained in:
commit
69b0761114
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def test_examples_sntp(env, extra_data):
|
||||||
timeout=60)
|
timeout=60)
|
||||||
|
|
||||||
TIME_FORMAT = '%a %b %d %H:%M:%S %Y'
|
TIME_FORMAT = '%a %b %d %H:%M:%S %Y'
|
||||||
TIME_FORMAT_REGEX = r'\w+ \w+ \d{1,2} \d{2}:\d{2}:\d{2} \d{4}'
|
TIME_FORMAT_REGEX = r'\w+\s+\w+\s+\d{1,2}\s+\d{2}:\d{2}:\d{2} \d{4}'
|
||||||
TIME_DIFF = datetime.timedelta(seconds=10 + 2) # cpu spends 10 seconds in deep sleep
|
TIME_DIFF = datetime.timedelta(seconds=10 + 2) # cpu spends 10 seconds in deep sleep
|
||||||
NY_time = None
|
NY_time = None
|
||||||
SH_time = None
|
SH_time = None
|
||||||
|
|
Loading…
Reference in a new issue