Skip to content

Commit d3df84f

Browse files
committed
Added nosec tags to prevent bandit from identifying assert statements.
1 parent 22d3a25 commit d3df84f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_pointofview.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
# https://docs.pytest.org/en/latest/index.html
3333

3434
def test_first():
35-
assert(pointofview.get_pov(POV_FIRST_SINGULAR) == 'first')
36-
assert(pointofview.get_pov(POV_FIRST_PLURAL) == 'first')
35+
assert(pointofview.get_pov(POV_FIRST_SINGULAR) == 'first') # nosec
36+
assert(pointofview.get_pov(POV_FIRST_PLURAL) == 'first') # nosec
3737

3838
def test_second():
39-
assert(pointofview.get_pov(POV_SECOND) == 'second')
39+
assert(pointofview.get_pov(POV_SECOND) == 'second') # nosec
4040

4141
def test_third():
42-
assert(pointofview.get_pov(POV_THIRD) == 'third')
42+
assert(pointofview.get_pov(POV_THIRD) == 'third') # nosec
4343

4444
def test_none():
45-
assert(pointofview.get_pov(POV_NONE) == None)
45+
assert(pointofview.get_pov(POV_NONE) == None) # nosec

0 commit comments

Comments
 (0)