diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-16 14:25:45 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-16 14:25:45 +0100 |
commit | 9870c8baec72251ad757e122dda75e9890d8587c (patch) | |
tree | 81748302a92dbaa4329da6dc2424892065668900 /summainlib_tests.py | |
parent | ec4944dd95fb2e85b117861ff90b1adcdad75233 (diff) | |
download | summain-9870c8baec72251ad757e122dda75e9890d8587c.tar.gz |
Compute all fields lazily.
Diffstat (limited to 'summainlib_tests.py')
-rw-r--r-- | summainlib_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/summainlib_tests.py b/summainlib_tests.py index 1083042..bfcd9fe 100644 --- a/summainlib_tests.py +++ b/summainlib_tests.py @@ -206,6 +206,11 @@ class FilesystemObjectNormalizedNumbersTests(unittest.TestCase): def test_inode_numbers_are_repeatable(self): a1 = self.new('foo') a2 = self.new('bar') + # Counter lazy evaluation. + a1['Dev'] + a1['Ino'] + a2['Dev'] + a2['Ino'] self.reset() b1 = self.new('foo') b2 = self.new('bar') |