Skip to content

Commit

Permalink
Fix github action and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marven11 committed Jul 26, 2023
1 parent abcec4d commit 7670a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
with:
env:
VULUNSERVER_ADDR: "http://127.0.0.1:5000"
run: |
cd tests
Expand Down
6 changes: 1 addition & 5 deletions tests/test_cracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def setUp(self):
"~",
"{{",
]
self.subm = FakeSubmitter(lambda x: all(w not in x for w in self.blacklist))


class CrackerTestWeird(CrackerTestBase):
Expand All @@ -87,7 +86,4 @@ def setUp(self):
"~",
"{{",
]
self.subm = FakeSubmitter(
lambda s: any(w in s for w in "facklimama")
or all(w not in s for w in self.blacklist)
)

0 comments on commit 7670a8f

Please sign in to comment.