Is it possible that browser tests empty DB?

3 views
Skip to first unread message

Yotam Bar-On

unread,
Oct 28, 2014, 6:43:25 PM10/28/14
to okness...@googlegroups.com
All I do is run the example browser test (like in the docs), and after the first run the database gets emptied.. no sure why.

Does this happen to anyone else?


Yotam

ori

unread,
Oct 29, 2014, 3:50:47 AM10/29/14
to okness...@googlegroups.com
yes, there is a problem, this solves it:

add the following method to class BrowserTestCase

def _databases_names(self, include_mirrors=True):
    return []

בתאריך יום רביעי, 29 באוקטובר 2014 00:43:25 UTC+2, מאת Yotam Bar-On:

Yotam Bar-On

unread,
Oct 29, 2014, 4:09:27 AM10/29/14
to okness...@googlegroups.com
OK, thank you. :)

--
You received this message because you are subscribed to the Google Groups "Open Knesset Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oknesset-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages