Skip to contentSkip to conversation

toaster: Add tests to detect if we have missing db migrations

PATCH New Michael Wood 1 participant 1 message Sep 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: Add tests to detect if we have missing db migrations

Based on the same test as found in patchwork by Damien Lespiau
https://github.com/dlespiau/patchwork/blob/master/patchwork/tests/test_db.py

---
 bitbake/lib/toaster/tests/db/__init__.py |  0
 bitbake/lib/toaster/tests/db/test_db.py  | 55 ++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 bitbake/lib/toaster/tests/db/__init__.py
 create mode 100644 bitbake/lib/toaster/tests/db/test_db.py
bitbake/lib/toaster/tests/db/__init__.py new file +0 -0
new file mode 100644
index 0000000..e69de29
bitbake/lib/toaster/tests/db/test_db.py new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
2.7.4