| Total Complexity | 5 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | from unittest import TestCase |
||
| 5 | class PictureCacheTests(TestCase): |
||
| 6 | |||
| 7 | def test_Serialize(self): |
||
| 8 | from niprov.pictures import PictureCache |
||
| 9 | pictures = PictureCache(sentinel.dependencies) |
||
| 10 | pictures.serializeSingle(sentinel.img) |
||
| 11 | |||
| 12 | def test_Provides_new_picture_file_handle(self): |
||
| 13 | # new() |
||
| 14 | pass |
||
| 15 | |||
| 16 | def test_Stored_picture_can_be_retrieved_as_filepath(self): |
||
| 17 | # keep(fhandle) - > serialize() / getPictureFilepathFor() |
||
| 18 | pass |
||
| 19 | |||
| 20 | def test_Stored_picture_can_be_retrieved_as_bytes(self): |
||
| 21 | # keep(fhandle) - > getPictureDataFor() |
||
| 22 | pass |
||
| 23 | |||
| 24 | def test_Can_be_told_to_persist_picture_to_disk_now(self): |
||
| 25 | # savePictureToDiskFor() |
||
| 26 | pass |
||
| 27 | |||
| 28 |