[tests] Tidy up receivedby.py
commitea0cd24f7d01f23fd5340c2afc644c760ff518a9
authorJohn Newbery <john@johnnewbery.com>
Tue, 15 Aug 2017 15:39:02 +0000 (15 11:39 -0400)
committerJohn Newbery <john@johnnewbery.com>
Fri, 10 Nov 2017 20:23:17 +0000 (10 15:23 -0500)
tree80aafc968b6934703e782507f2dc0ade7ef0dcb7
parent05a761932edd05cf94ffe938908baf058f38632a
[tests] Tidy up receivedby.py

- Fix flake8 warnings
- Remove the useless get_sub_array_from_array() function
- Reduce runtime for receivedby.py by about half by only using two nodes
test/functional/receivedby.py