Browse Source

make sure that the defattrname is set properly..

main
John-Mark Gurney 4 years ago
parent
commit
897f7be944
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      bitelab/__init__.py

+ 2
- 0
bitelab/__init__.py View File

@@ -834,6 +834,8 @@ class TestAttrs(unittest.IsolatedAsyncioTestCase):
data = 'somepath'
sc = SerialConsole(data)

self.assertEqual(sc.defattrname, 'console')

self.assertEqual(data, await sc.getvalue())

with self.assertRaises(TypeError):


Loading…
Cancel
Save