{"push_id":932191914,"size":11,"distinct_size":11,"ref":"refs/heads/feature/auto_updater","head":"6b3a1d19f30f82b47de133f46e93ace8f09d9c34","before":"420751154d38bfe958a7d0fda09ba34d5aa14bf5","commits":[{"sha":"161594966b334a8c1f24d44d6f5dd23fba97b0eb","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"WIP re-adding unit tests\n\nThis PR introduces a general pattern for testing the behavior of the\nConsolidatedEventhandler's event consolidation:\n1) the OSFOTestBase automagically (thanks pytest) creates a per-test temporary directory\nbased on the subclasses PROJECT_STRUCTURE attribute\n2) in TestConsolidatedeventHandler another pytest fixture is used to\nattach a TestSyncWorker\n3) the TestSyncWorker exposes a 'flushed' threading.Event, and overrides\nthe ConsolidatedEventHandler's flush method to set this\nEvent. Additionally flush blocks further execution on the TestSyncWorker\nthread by waiting for it's 'done' threading.Event to be set\n4) to test against this, make a modification to the test file system\nand wait for the 'flushed' event to be set\n5) make assertions against the state of the _event_cache or\n_create_cache\n6) set the 'done' event to allow the TestSyncWorker to continue","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/161594966b334a8c1f24d44d6f5dd23fba97b0eb"},{"sha":"7d031cc6d4931a659a9d36410a7313f426a18bd7","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Add pytest to requirements","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/7d031cc6d4931a659a9d36410a7313f426a18bd7"},{"sha":"3bbe562ed992f126b414a8eeda13620755f3cf07","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Update fail_after decorator to actually work","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/3bbe562ed992f126b414a8eeda13620755f3cf07"},{"sha":"8eee960cfd7b95680be9b12f2a527586c2e3bf2b","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Some updates and fixes to unit testing setup.","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/8eee960cfd7b95680be9b12f2a527586c2e3bf2b"},{"sha":"609a24fad1882daa55d3da8f3881b1b45b828e88","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Fixes for ConsolidatedEventHandler tests, and implementing test suite\n\n- Fixes to project/file structure creation and rel_path generation\n- Add Observer subclass that exposes a 'ready' Event to use in test\n  set up fixture\n- Move sorting of ConsolidatedEventHandler's create_cache to helper\n  method for improved testability","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/609a24fad1882daa55d3da8f3881b1b45b828e88"},{"sha":"1b661fd2be7b240398318c301ec0277be8e717b8","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Add a tests readme","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/1b661fd2be7b240398318c301ec0277be8e717b8"},{"sha":"e5731ca319e94d7fc49ea569718912d2ba99e77c","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Change _sorted_event_cache to the correct _sorted_create_cache","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/e5731ca319e94d7fc49ea569718912d2ba99e77c"},{"sha":"2f9feae15de73e9a56c85f2e1bf4c8d7915cf801","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Add Note to testing docs","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/2f9feae15de73e9a56c85f2e1bf4c8d7915cf801"},{"sha":"ac54a38adf4407eb3f79f9e5c40dc7515de9c053","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Merge pull request #124 from samchrisinger/fix/off62-windows-watchdog-tests\n\nRFR Re-add unit tests","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/ac54a38adf4407eb3f79f9e5c40dc7515de9c053"},{"sha":"1605a27bc24b7419fd8d1add57f686de8c722da4","author":{"email":"7ce57d1d5b67687bdae495d7be76053fa40a108a@gmail.com","name":"Sam Chrisinger"},"message":"Update README.md","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/1605a27bc24b7419fd8d1add57f686de8c722da4"},{"sha":"6b3a1d19f30f82b47de133f46e93ace8f09d9c34","author":{"email":"ded99b8a136055bd3045c12e68be522ce448eceb@virginia.edu","name":"Nan Chen"},"message":"solve merge conflict","distinct":true,"url":"https://api.github.com/repos/chennan47/OSF-Offline/commits/6b3a1d19f30f82b47de133f46e93ace8f09d9c34"}]}