Blacked
This commit is contained in:
@@ -4,11 +4,10 @@ from unittest import mock
|
||||
from redmine_reporter.cli import main
|
||||
|
||||
|
||||
@mock.patch.dict("os.environ", {
|
||||
"REDMINE_URL": "https://red.eltex.loc/",
|
||||
"REDMINE_USER": "x",
|
||||
"REDMINE_PASSWORD": "y"
|
||||
})
|
||||
@mock.patch.dict(
|
||||
"os.environ",
|
||||
{"REDMINE_URL": "https://red.eltex.loc/", "REDMINE_USER": "x", "REDMINE_PASSWORD": "y"},
|
||||
)
|
||||
@mock.patch("redmine_reporter.client.fetch_issues_with_spent_time")
|
||||
def test_cli_smoke(mock_fetch):
|
||||
mock_fetch.return_value = []
|
||||
|
||||
Reference in New Issue
Block a user