| Conditions | 2 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | try: |
||
| 23 | def test_mz(self): |
||
| 24 | rv = self.app.get('/settings/mz', follow_redirects=False) |
||
| 25 | self.assertEqual(rv.status_code, 200) |
||
| 26 | data = rv.data.upper() |
||
| 27 | _mz = ValueTemplates.query.filter(ValueTemplates.name == "naxsi_mz").order_by(ValueTemplates.value).all() |
||
| 28 | for mz in _mz: |
||
| 29 | self.assertIn(mz.value.upper(), data) |
||
| 30 | |||
| 38 |