| Conditions | 2 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | try: |
||
| 31 | def test_score(self): |
||
| 32 | rv = self.app.get('/settings/scores', follow_redirects=False) |
||
| 33 | self.assertEqual(rv.status_code, 200) |
||
| 34 | data = rv.data.upper() |
||
| 35 | _sc = ValueTemplates.query.filter(ValueTemplates.name == "naxsi_score").order_by(ValueTemplates.value).all() |
||
| 36 | for sc in _sc: |
||
| 37 | self.assertIn(sc.value.upper(), data) |
||
| 38 |