def test_get_library_version(self): mods = ["Gtk", "Atk", "Gst", "Poppler", "Anthy", "InputPad", "Pango", "WebKit2", "GdkPixbuf", "LunarDate", "TotemPlParser", "GVnc"] for m in mods: try: m = import_namespace(m) except ImportError: continue self.assertTrue(get_library_version(m))
def test_get_library_version(self): mods = [ "Gtk", "Atk", "Gst", "Poppler", "Anthy", "InputPad", "Pango", "WebKit2", "GdkPixbuf", "LunarDate", "TotemPlParser", "GVnc" ] for m in mods: try: m = import_namespace(m) except ImportError: continue self.assertTrue(get_library_version(m))
def test_get_project_version(self): self.assertEqual( get_project_version(import_namespace("GObject", "2.0")), get_library_version(import_namespace("GLib", "2.0")))