Skip to content

A problem about FLASK #2

@cc1oud

Description

@cc1oud

Hello,this is a magnificent project. I'm currently learning about it.
when I run the code pytest --alluredir=output/allure-result
it will happen mistake, about

tests\test_user\test_user_add_del.py:14: in <module>
    from src.client.flask_client.flask_client import flask_clinet
src\client\flask_client\flask_client.py:10: in <module>
    config = settings.flask
..\..\anaconda3\envs\pytest\lib\site-packages\dynaconf\base.py:144: in __getattr__
    value = getattr(self._wrapped, name)
..\..\anaconda3\envs\pytest\lib\site-packages\dynaconf\base.py:325: in __getattribute__
    return super().__getattribute__(name)
E   AttributeError: 'Settings' object has no attribute 'FLASK'


I searched online for a long time but couldn't find a solution. Did I make a mistake somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions