Skip to content

Commit 2c40e4c

Browse files
committed
update test environment variables for DNA complexity score calculation
1 parent 0804fb0 commit 2c40e4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
build:
1515
env:
16-
IDT_CREDENTIALS: ${{ secrets.IDT_CREDENTIALS }}
16+
CREDENTIALS: ${{ secrets.CREDENTIALS }}
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
@@ -46,5 +46,5 @@ jobs:
4646
- name: Test with pytest
4747
run: |
4848
pip install .
49-
echo "$IDT_CREDENTIALS" > test_secret_idt_credentials.json
49+
echo "$CREDENTIALS" > test_secret_credentials.json
5050
pytest --ignore=test/test_docstr_coverage.py -s

test/test_calculate_complexity_scores.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TestIDTCalculateComplexityScore(unittest.TestCase):
5555
def test_calculate_complexity_score(self):
5656
"""Test that a library-call invocation of complexity scoring works"""
5757
test_dir = Path(__file__).parent
58-
with open(test_dir.parent / 'test_secret_idt_credentials.json') as test_credentials:
58+
with open(test_dir.parent / 'test_secret_credentials.json') as test_credentials:
5959
idt_accessor = IDTAccountAccessor(**json.load(test_credentials)['idt'])
6060

6161
doc = sbol3.Document()
@@ -91,7 +91,7 @@ def test_commandline(self):
9191
'--provider',
9292
'idt',
9393
'--credentials',
94-
str(test_dir.parent / 'test_secret_idt_credentials.json'),
94+
str(test_dir.parent / 'test_secret_credentials.json'),
9595
str(test_dir / 'test_files' / 'Test_file_Complexity_Scores.nt'),
9696
temp_name,
9797
]

0 commit comments

Comments
 (0)