Skip to content

Commit b97fe87

Browse files
committed
Fix docker command
1 parent 0fe67f2 commit b97fe87

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

start

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ else
77
fi
88

99
if [[ "${1}" == "down" ]]; then
10-
docker-compose -f <(sed -e "s;%%VOLUME%%;${volume};g" docker-compose.tmpl.yml) down
10+
docker compose -f <(sed -e "s;%%VOLUME%%;${volume};g" docker-compose.tmpl.yml) down
1111
else
12-
docker-compose -f <(sed -e "s;%%VOLUME%%;${volume};g" docker-compose.tmpl.yml) up -d
12+
docker compose -f <(sed -e "s;%%VOLUME%%;${volume};g" docker-compose.tmpl.yml) up -d
1313
fi

testing/test_unit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ def file_content():
2525
.decode("utf-8")
2626
.strip()
2727
)
28-
except AttributeError:
28+
except AttributeError as e:
29+
print(f"WHY IS THIS ERRORING: {e}")
2930
# Needed for python < 3.9
3031
return pkg_resources.resource_string(
3132
"pytest_html", os.path.join("assets", "style.css")

0 commit comments

Comments
 (0)