| Total Complexity | 4 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| 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 | pass |
||
| 14 | |||
| 15 | def test_Stored_picture_can_be_retrieved_as_filepath(self): |
||
| 16 | # store(fhandle) - > serialize() / getPictureFilepathFor() |
||
| 17 | pass |
||
| 18 | |||
| 19 | def test_Stored_picture_can_be_retrieved_as_bytes(self): |
||
| 20 | # store(fhandle) - > getPictureDataFor() |
||
| 21 | pass |
||
| 22 | |||
| 23 |