From 09b693d2edc8b57ec622f253f1b25363f2d2aabb Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Thu, 25 Jul 2024 14:57:15 +0100 Subject: [PATCH] Update cache --- .github/workflows/test_and_deploy.yml | 2 +- tests/tests/test_brainmapper/test_transform_widget.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index e62f67d..761547e 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -47,7 +47,7 @@ jobs: with: path: "$HOME/.brainglobe" # hash on conftest in case url changes - key: brainglobe-dir${{ runner.os }}${{ hashFiles('**/conftest.py') }} + key: brainglobe-dir-${{ runner.os }}${{ hashFiles('**/conftest.py') }} - name: Set up Python ${{ matrix.python-version }} diff --git a/tests/tests/test_brainmapper/test_transform_widget.py b/tests/tests/test_brainmapper/test_transform_widget.py index 10df54f..d3050d5 100644 --- a/tests/tests/test_brainmapper/test_transform_widget.py +++ b/tests/tests/test_brainmapper/test_transform_widget.py @@ -120,9 +120,9 @@ def sample_dataframe(): def random_json_path(tmp_path): json_path = tmp_path / "random_json.json" content = { - "Name": "Pooh Bear", - "Location": "100 acre wood", - "Food": "Honey", + "name": "Pooh Bear", + "location": "100 acre wood", + "food": "Honey", } with open(json_path, "w") as f: json.dump(content, f)