From 3936db3bbebf082dfd2fe6880264db222b3dbad0 Mon Sep 17 00:00:00 2001 From: Samuel Maldonado Date: Fri, 19 Apr 2024 13:23:53 -0400 Subject: [PATCH] remove test --- .github/workflows/test_ci.yml | 2 -- server/autotest_server/tests/test_autotest_server.py | 6 ------ 2 files changed, 8 deletions(-) diff --git a/.github/workflows/test_ci.yml b/.github/workflows/test_ci.yml index 53731a69..6c6656fb 100644 --- a/.github/workflows/test_ci.yml +++ b/.github/workflows/test_ci.yml @@ -36,7 +36,5 @@ jobs: ${{ runner.os }}-pip- - name: Install python packages run: python -m pip install pytest fakeredis -r ${{ matrix.test-dir }}/requirements.txt - - name: Set stack_root - run: echo "STACK_ROOT=/home/docker/.autotesting/.stack" >> "$GITHUB_ENV" - name: run tests run: pytest ${{ matrix.test-dir }} diff --git a/server/autotest_server/tests/test_autotest_server.py b/server/autotest_server/tests/test_autotest_server.py index e53a69b9..f875617a 100644 --- a/server/autotest_server/tests/test_autotest_server.py +++ b/server/autotest_server/tests/test_autotest_server.py @@ -49,9 +49,3 @@ def test_sticky(): assert os.path.exists(path) is False - -def test_stack_permissions(): - stack_root = os.environ["STACK_ROOT"] - path = f"{stack_root}/stack.sqlite3.pantry-write-lock" - permissions = oct(os.stat(path).st_mode)[-3:] - assert permissions[1] == "6"