Skip to content

Commit

Permalink
ooooh
Browse files Browse the repository at this point in the history
  • Loading branch information
faculerena committed Jul 8, 2024
1 parent f1034df commit 3d95b5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ test_ci: venv
@echo -e "${GREEN}======== Installing Stacy for Clarity ========${NC}"
./venv/bin/pip install $(REPO_ROOT)
@echo -e "${GREEN}======== Testing detectors ========${NC}"
cd tests && ../venv/bin/python3 -m unittest test_module1 # > $(GITHUB_WORKSPACE)/test.out 2>&1 && cd ..
cd tests && ../venv/bin/python3 -m unittest test_module1 > $(GITHUB_WORKSPACE)/test.out 2>&1 && cd ..

unittest: venv
./venv/bin/pip uninstall stacy-analyzer -y # > /dev/null 2>&1
git submodule update --recursive # > /dev/null 2>&1
./venv/bin/pip install $(TS_CLARITY_PATH) # > /dev/null 2>&1
./venv/bin/pip install $(REPO_ROOT) # > /dev/null 2>&1
./venv/bin/pip uninstall stacy-analyzer -y > /dev/null 2>&1
git submodule update --recursive > /dev/null 2>&1
./venv/bin/pip install $(TS_CLARITY_PATH) > /dev/null 2>&1
./venv/bin/pip install $(REPO_ROOT) > /dev/null 2>&1
cd tests/ && python3 -m unittest test_module1

fish: venv
Expand Down
2 changes: 1 addition & 1 deletion src/stacy_analyzer/visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ def finding_is_ignored(self, node):

@property
def Name(self):
return self.__name__
return self.__class__.__name__

0 comments on commit 3d95b5b

Please sign in to comment.