Skip to content

Commit

Permalink
removed unnecessary files and fixed test, now expected to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ma595 committed Oct 17, 2024
1 parent c290912 commit cc69804
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 31 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/python-app.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application
name: ONEFlux CI

on:
push:
Expand Down Expand Up @@ -38,4 +35,4 @@ jobs:
- name: Run pytest
run: |
export PYTHONPATH=/home/runner/work/ONEFlux/ONEFlux:$PYTHONPATH
pytest tests/python
pytest tests/python
14 changes: 0 additions & 14 deletions frozen-requirements.txt

This file was deleted.

10 changes: 5 additions & 5 deletions tests/python/integration/test_partitioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@pytest.fixture(scope="module")
def get_data():
'''
Utilising python to obtain sample test data. Function currently not used
Utilising python to obtain sample test data. Function currently unused.
as a fixture in this class.
'''
from zipfile import ZipFile
Expand Down Expand Up @@ -98,10 +98,10 @@ def test_run_partition_nt(setup_data):
assert len(nee_y_files) == len(ref_nee_y_files)
retval = True
for f, b in zip(nee_y_files, ref_nee_y_files):
if not equal_csv(f, b):
retval = False
print(f, b)
assert equal_csv(f, b) == True

# clean up data.
shutil.rmtree(datadir)
# shutil.rmtree(datadir)

return retval
# assert retval == True
7 changes: 0 additions & 7 deletions tests/python/integration/test_qcauto.py

This file was deleted.

0 comments on commit cc69804

Please sign in to comment.