Changeset 6fbb689 in nscp


Ignore:
Timestamp:
01/20/12 08:09:28 (16 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
28f6a64
Parents:
bd1e5e5
Message:

strange...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/python/test_nsca.py

    rbd1e5e5 r6fbb689  
    8989    with sync: 
    9090      if msg.uuid in self._responses: 
    91         log('Updated: %s'%msg.uuid) 
    92       self._responses[msg.uuid].copy_changed_attributes(msg) 
     91        self._responses[msg.uuid].copy_changed_attributes(msg) 
    9392      else: 
    94         log('Added: %s'%msg.uuid) 
    9593        self._responses[msg.uuid] = msg 
    9694       
     
    158156            if rmsg.got_simple_response and rmsg.got_response: 
    159157              log('Got delayed response %s'%uuid) 
    160         else: 
     158            else: 
    161159              log('Waiting for delayed response %s (%d/10)'%(uuid, j+1)) 
    162160           
    163161        result.add_message(rmsg.got_response, 'Testing to recieve message using %s'%tag) 
    164           result.add_message(rmsg.got_simple_response, 'Testing to recieve simple message using %s'%tag) 
     162        result.add_message(rmsg.got_simple_response, 'Testing to recieve simple message using %s'%tag) 
    165163        result.assert_equals(rmsg.command, uuid, 'Verify that command is sent through using %s'%tag) 
    166164        result.assert_contains(rmsg.message, msg, 'Verify that message is sent through using %s'%tag) 
Note: See TracChangeset for help on using the changeset viewer.