In entangled/transaction.py, read the Create, Write and Delete actions. These classes have a conflict method that indicates if anything fishy is going on. Read these, and see if they conform to your own logic. Then in test/test_transaction.py, add tests for those behaviours.
Sometimes a file ends up in the FileDB that does not belong there, for instance README.md. There should be a check that files that do not match the config.watch_list patterns are never included.
In
entangled/transaction.py
, read theCreate
,Write
andDelete
actions. These classes have aconflict
method that indicates if anything fishy is going on. Read these, and see if they conform to your own logic. Then intest/test_transaction.py
, add tests for those behaviours.Sometimes a file ends up in the FileDB that does not belong there, for instance
README.md
. There should be a check that files that do not match theconfig.watch_list
patterns are never included.