code: def _get_inst_repo(self, namespace=None):
          
          if namespace is None:
              namespace = self.default_namespace
          return self.instances[namespace]
docs: Test support method that returns instances from the repository with
          no processing.  It uses the default namespace if input parameter
          for namespace is None