[riot-notifications] [RIOT-OS/RIOT] tests: add tests to reproduce #10881 (#10908)
notifications at github.com
Wed Jan 30 19:40:38 CET 2019
miri64 commented on this pull request.
> +# Copyright (C) 2019 Freie Universität Berlin
+# This file is subject to the terms and conditions of the GNU Lesser
+# General Public License v2.1. See the file LICENSE in the top level
+# directory for more details.
+from testrunner import run
+from pexpect import TIMEOUT
+ res = child.expect([TIMEOUT, "FAILED ASSERTION."])
+ # we actually want the timeout here. The application runs into an assertion
+ # pretty quickly when failing and runs forever on success
+ assert(res == 0)
There is nothing about that in [PEP 8](https://www.python.org/dev/peps/pep-0008/) btw...
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications