Skip to content

Commit 36c3cfe

Browse files
committed
unit test for token usage
1 parent 03a895c commit 36c3cfe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ jobs:
7070
run: pip install -r requirements.txt
7171

7272
- name: Run test
73-
run: python3 test_token_usage.py --tt1 ${{ secrets.TEST_TOKEN_GITHUB }} -tt2 ${{ secrets.SECOND_TEST_TOKEN_GITHUB }} --repo moevm/github_repo_commitment_calc --out out.csv
73+
run: python3 test_token_usage.py --tt1 ${{ secrets.TEST_TOKEN_GITHUB }} --tt2 ${{ secrets.SECOND_TEST_TOKEN_GITHUB }} --repo moevm/github_repo_commitment_calc --out out.csv

test_token_usage.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def parse_args(args):
2727

2828
class TestTokenUsage(unittest.TestCase):
2929
def setUp(self):
30-
print(len(sys.argv[1:]))
3130
test_args = parse_args(sys.argv[1:])
3231
self.tokens = [test_args.tt1, test_args.tt2]
3332
self.repo = test_args.repo

0 commit comments

Comments
 (0)