my-testflow icon indicating copy to clipboard operation
my-testflow copied to clipboard

运行multitests_together.py报错

Open jiabinOu opened this issue 6 years ago • 2 comments

test setup failed cls = <class 'testflow.lib.case.android_app.AndroidAppCase'>

    @classmethod
    def setUpClass(cls):
        super(AndroidAppCase, cls).setUpClass()
        if not current_device():
            connect_device('Android:///')
    
        dev = current_device()

>       meta_info_emitter = cls.get_result_emitter('metaInfo')
E       AttributeError: type object 'AndroidAppCase' has no attribute 'get_result_emitter'

../lib/case/android_app.py:20: AttributeError

jiabinOu avatar Nov 30 '18 11:11 jiabinOu

    dev = current_device()
  meta_info_emitter = cls.get_result_emitter('metaInfo')

E AttributeError: type object 'AndroidAppCase' has no attribute 'get_result_emitter'

android_app.py:20: AttributeError

jiabinOu avatar Nov 30 '18 11:11 jiabinOu

did u upgrade to latest poco and pocounit? try following command line.

pip install -U pocounit

adolli avatar Dec 02 '18 05:12 adolli