Eugene Nikanorov 746e727c80 Fix auto_schedule_networks to resist DBDuplicateEntry
This exception may happen if API and RPC workers are in different
processes.
Also make minor refactoring of auto_schedule_networks method
to avoid unnecessary db queries.
Add missing unit tests and adjust unit test naming style

Change-Id: I6460744e2cffec0b9f009da071597374d8c027f6
Closes-Bug: #1331456
2014-06-20 13:20:20 +04:00
..
2014-06-19 12:58:01 +02:00
2014-06-19 12:58:01 +02:00
2014-05-04 12:40:08 +02:00
2014-05-19 12:16:56 +02:00
2014-06-19 12:58:01 +02:00
2013-07-06 15:02:43 -04:00
2014-02-10 04:58:38 +09:00
2014-05-04 12:40:08 +02:00
2014-02-25 14:28:35 +00:00
2014-06-16 12:44:22 +02:00
2014-06-19 12:58:01 +02:00
2013-07-06 15:02:43 -04:00