

def test_ActorReqs(self):
    reqCheck = TestRequireRequirements.req1.actorSystemCapabilityCheck
    self.assertFalse(reqCheck({
        
    }, {
        
    }))
    self.assertFalse(reqCheck({
        
    }, {
        'foo': None,
    }))
    self.assertFalse(reqCheck({
        
    }, {
        'foo': True,
    }))
    self.assertFalse(reqCheck({
        
    }, {
        'foo': 'boo',
    }))
    self.assertFalse(reqCheck({
        
    }, {
        'dog': 'woof',
    }))
    self.assertTrue(reqCheck({
        
    }, {
        'foo': 'woof',
    }))
    self.assertTrue(reqCheck({
        
    }, {
        'foo': 'woof',
        'bar': 'foo',
    }))

dataset/ETHPy150Open godaddy/Thespian/thespian/test/testRequireCapability.py TestRequireRequirements.test_ActorReqs/original