Gareth wrote:
> It creates and cleans the tables in memory?
Creates and deletes actually.
Line 69 creates all the tables when a test starts.
Line 78 uses the unittest framework to add the function clear_tables() to the
post-test operations that are run after every test. So after a test finishes
It creates and cleans the tables in memory?
On Tue, Jan 26, 2016 at 12:56 AM, Assaf Muller wrote:
> On Mon, Jan 25, 2016 at 10:05 AM, Gareth 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]
On Mon, Jan 25, 2016 at 10:05 AM, Gareth 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 nothi
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
--
Gareth (Kun Huang)
Cloud Computing, OpenStack, Distributed Storage, Fitness,