Ignore:
Timestamp:
02/20/06 15:46:35 (9 years ago)
Author:
xi
Message:

Fix bugs in Resolver and add more tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pyyaml3000/tests/test_appliance.py

    r51 r54  
    299299        return self.events 
    300300 
     301    def get(self): 
     302        return self.events.pop(0) 
     303 
     304    def check(self, *choices): 
     305        for choice in choices: 
     306            if isinstance(self.events[0], choice): 
     307                return True 
     308        return False 
     309 
     310    def peek(self): 
     311        return self.events[0] 
     312 
Note: See TracChangeset for help on using the changeset viewer.