mock.sentinel.oid

Here are the examples of the python api mock.sentinel.oid taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: pyon Source File: test_procs.py
    def test_start_with_org(self):
        self.patch_cfg('pyon.container.procs.CFG', {'container':{'org_name':'NOT_DEFAULT'}})
        self.pm.start()

        self.container.resource_registry.create_association.assert_called_once_with(sentinel.oid, PRED.hasResource, sentinel.rid)