perseas / Pyrseas

Provides utilities for Postgres database schema versioning.
https://perseas.github.io/
BSD 3-Clause "New" or "Revised" License
395 stars 67 forks source link

dbaugment tests fail with deptrack changes #121

Closed jmafc closed 9 years ago

jmafc commented 9 years ago

Most of the tests/augment/test_audit.py tests fail in the deptrack branch. The tests fail to find trigger functions in the get_implied_deps Trigger routines.

jmafc commented 9 years ago

The tests fail because Trigger.get_implied_deps assumes a function must exist, but in the case of dbaugment the triggers, functions, etc., are yet to be created. So either get_implied_deps allows the functions not to exist or it has to be passed an indicator that these functions do not have to exist.