def to_map(self,  opts):
        objdict = {}
        for objkey in sorted(self.keys()):
            obj = self[objkey]
            objmap = obj.to_map(opts.no_owner, opts.no_privs)
            if objmap is not None:
                extkey = obj.extern_key()
                outobj = {extkey: objmap}
                if opts.multiple_files:
                    filepath = obj.extern_filename()
                    with open(os.path.join(opts.metadata_dir, filepath),
                              'a') as f:
                        f.write(yamldump(outobj))
                    outobj = {extkey: filepath}
                objdict.update(outobj)
        return objdict
Mark the test as actually running (as opposed to CREATED).
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/__init__.py/DbObjectDict.to_map--crossover with--dataset/ETHPy150Open google/openhtf/openhtf/exe/test_state.py/TestState.SetStateRunning