| Conditions | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | from unittest import TestCase |
||
| 7 | def test_Statistics(self): |
||
| 8 | from niprov.formatsimple import SimpleFormat |
||
| 9 | exporter = SimpleFormat() |
||
| 10 | out = exporter.serializeStatistics({'count':123,'totalsize':678}) |
||
| 11 | self.assertIn(' Number of files: 123', out) |
||
| 12 | self.assertIn(' Total file size: 678', out) |
||
| 13 | |||
| 39 |