I'm trying to create a python project for automated acceptance testing. I read a lot about the patterns I could use and I got to the current structure.
I can't understand where I'm going wrong. I've already reviewed where the import error is pointed out, but I can't understand where the error is.
Traceback (most recent call last):
File "C:/Users/Iago/PycharmProjects/python-test-automated/tests/test_login.py", line 1, in <module>
from core.BaseTest import BaseTest
File "C:\Users\Iago\PycharmProjects\python-test-automated\core\BaseTest.py", line 3, in <module>
from core.DriverFactory import DriverFactory
File "C:\Users\Iago\PycharmProjects\python-test-automated\core\DriverFactory.py", line 1, in <module>
from core.Properties import Properties
File "C:\Users\Iago\PycharmProjects\python-test-automated\core\Properties.py", line 3, in <module>
class Properties:
File "C:\Users\Iago\PycharmProjects\python-test-automated\core\Properties.py", line 7, in Properties
BROWSER = Browsers.CHROME
File "C:\Python37\lib\enum.py", line 349, in __getattr__
raise AttributeError(name) from None
AttributeError: CHROME
Aucun commentaire:
Enregistrer un commentaire