def testGetMissingRequires_unrequired(self):
    input_lines = ['package.Foo();']

    namespaces_info = self._GetNamespacesInfoForScript(input_lines, ['package'])

    missing_requires, _ = namespaces_info.GetMissingRequires()
    self.assertEquals(1, len(missing_requires))
    missing_req = missing_requires.popitem()
    self.assertEquals('package.Foo', missing_req[0])
    self.assertEquals(1, missing_req[1])
Compares two version numbers. Accepts a custom function to perform the
dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest.testGetMissingRequires_unrequired--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/compare_versions