Revision 8bb3a316

b/snf-cyclades-app/synnefo/logic/tests.py
554 554

  
555 555
    def test_get_servers_from_db(self):
556 556
        """Test getting a dictionary from each server to its operstate"""
557
        self.assertEquals(reconciliation.get_servers_from_db(),
557
        backend = 30000
558
        self.assertEquals(reconciliation.get_servers_from_db(backends=[backend]),
558 559
                          {30000: 'STARTED', 30001: 'STOPPED', 30002: 'BUILD'})
559 560

  
560 561
    def test_stale_servers_in_db(self):

Also available in: Unified diff