def inventory_query_string(self):
        parts = []
        if self.inventory_name:
            parts.append("name=%s" % self.inventory_name)
        if self.inventory_version:
            parts.append("version=%s" % self.inventory_version)
        if self.inventory_bundleid:
            parts.append("bundleid=%s" % self.inventory_bundleid)
        if self.inventory_bundlename:
            parts.append("bundlename=%s" % self.inventory_bundlename)
        if self.inventory_path:
            parts.append("path=%s" % self.inventory_path)
        if parts:
            return quote_plus('?%s' % '&'.join(parts), safe='?&=')
        else:
            return ''
Harness to test if the FrameSet.hasFrame call works properly.
dataset/ETHPy150Open munki/munkiwebadmin/licenses/models.py/License.inventory_query_string--crossover with--dataset/ETHPy150Open sqlboy/fileseq/test/run.py/TestFrameSet._check_hasFrameTrue