Tests: remote_test.py. Private member test catching dunder names. 61/18161/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Sun, 10 Mar 2019 14:03:22 +0000 (07:03 -0700)
committerOle Trøan <otroan@employees.org>
Mon, 11 Mar 2019 08:09:58 +0000 (08:09 +0000)
commitd3a9be2ca0b527bfeac808a822319e69e0d7fe76
tree3fca640983207c69d2e4dcc8e82e65bb9f047782
parent9a6dafd569db0d0b5dc9d7b5b34b17e3f411a9ee
Tests: remote_test.py.  Private member test catching dunder names.

Private member check also catches __iter__, since it starts with '_'.

Fixes:
  Captured traceback:
  ~~~~~~~~~~~~~~~~~~
      b'Traceback (most recent call last):'
      b'  File "/vpp/test/test_memif.py", line 47, in tearDown'
      b'    remove_all_memif_vpp_config(self.remote_test)'
      b'  File "/vpp/test/vpp_memif.py", line 36, in remove_all_memif_vpp_config'
      b'    for d in dump:'
      b"TypeError: 'SerializableClassCopy' object is not iterable"
      b''

Change-Id: I6a3f3e0f2b1b2d0a2b97faa23bf542ff8f92de43
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/remote_test.py