On Mon, Jan 25, 2016 at 10:05 AM, Gareth <academicgar...@gmail.com> wrote: > Hey neutron guys > > What will happen if I remove this line[0]? > > When running unit test, do we create tables in real database? > > [0] > https://github.com/openstack/neutron/blob/master/neutron/tests/unit/testlib_api.py#L78
That line has nothing to do with what database backend you use (SQLite or mysql or whatever), it's used to clear the contents of the tables so the next test starts with a clean DB. > > -- > Gareth (Kun Huang) > > Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball > OpenStack contributor, kun_huang@freenode > My promise: if you find any spelling or grammar mistakes in my email > from Mar 1 2013, notify me > and I'll donate $1 or ¥1 to an open organization you specify. > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev