Skip to content

New tests definition scheme#383

Open
houndlord wants to merge 10 commits intosysblok:devfrom
houndlord:tests
Open

New tests definition scheme#383
houndlord wants to merge 10 commits intosysblok:devfrom
houndlord:tests

Conversation

@houndlord
Copy link
Contributor

No description provided.

return json.loads(fin.read())
except json.JSONDecodeError as e:
logger.error(exc_info=e)
logger.exception(f"Failed to decode JSON from '{config_path}'")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this change here?

async with telegram_client.conversation(telegram_bot_name) as conv:
yield conv

@pytest.fixture(scope="function")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do scope="session" here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants