gvwilson / sdxpy

Software Design by Example: a tool-based introduction with Python
https://third-bit.com/sdxpy/
Other
280 stars 49 forks source link

PR for test_nested_example in archive #271

Closed gbezyuk closed 2 months ago

gbezyuk commented 4 months ago

(in the end of the section 10.3)

The existing code tests the presence of the manifest many times in the loop, which doesn't seem optimal, so I fixed that. Also, extracted the timestamp to avoid possible divergency between the mocked and the tested value.

gvwilson commented 2 months ago

thank you for the fix