File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1028,7 +1028,7 @@ def behave_dashboard_prepare():
1028
1028
_create_dashboard_assets_ ()
1029
1029
# Output Dashboard info to the console
1030
1030
sb_config .item_count_untested = sb_config .item_count
1031
- dash_path = os .getcwd () + "/ dashboard.html"
1031
+ dash_path = os .path . join ( os . getcwd (), " dashboard.html")
1032
1032
star_len = len ("Dashboard: " ) + len (dash_path )
1033
1033
try :
1034
1034
terminal_size = os .get_terminal_size ().columns
Original file line number Diff line number Diff line change @@ -1721,7 +1721,7 @@ def pytest_terminal_summary(terminalreporter):
1721
1721
sb_config .dashboard and not sb_config ._only_unittest
1722
1722
):
1723
1723
# Print link a second time because the first one may be off-screen
1724
- dashboard_file = os .getcwd () + "/ dashboard.html"
1724
+ dashboard_file = os .path . join ( os . getcwd (), " dashboard.html")
1725
1725
terminalreporter .write_sep ("-" , "Dashboard: %s" % dashboard_file )
1726
1726
if (
1727
1727
sb_config ._has_exception
You can’t perform that action at this time.
0 commit comments