예제 #1
0
def test_duplicate_ids():
    """
    Test for duplicate ids for all .glade files in the tag plugin.
    """
    import bauble.connmgr as mod
    head, tail = os.path.split(mod.__file__)
    assert(not check_dupids(os.path.join(head, 'connmgr.glade')))
예제 #2
0
def test_duplicate_ids():
    """
    Test for duplicate ids for all .glade files in the tag plugin.
    """
    import bauble.connmgr as mod
    head, tail = os.path.split(mod.__file__)
    assert(not check_dupids(os.path.join(head, 'connmgr.glade')))
예제 #3
0
파일: test.py 프로젝트: Ghini/ghini.desktop
def test_duplicate_ids():
    """
    Test for duplicate ids for all .glade files in the users plugin.
    """
    import bauble.plugins.users as mod
    import glob
    head, tail = os.path.split(mod.__file__)
    files = glob.glob(os.path.join(head, '*.glade'))
    for f in files:
        assert(not check_dupids(f))
예제 #4
0
def test_duplicate_ids():
    """
    Test for duplicate ids for all .glade files in the tag plugin.
    """
    import bauble.plugins.tag as mod
    import glob
    head, tail = os.path.split(mod.__file__)
    files = glob.glob(os.path.join(head, '*.glade'))
    for f in files:
        assert (not check_dupids(f))
예제 #5
0
 def test_duplicate_ids(self):
     """
     Test for duplicate ids for all .glade files in the bauble module
     """
     import bauble as mod
     import glob
     head, tail = os.path.split(mod.__file__)
     files = glob.glob(os.path.join(head, '*.glade'))
     for f in files:
         ids = check_dupids(f)
         self.assert_(ids == [], "%s has duplicate ids: %s" % (f, str(ids)))
 def test_duplicate_ids(self):
     """
     Test for duplicate ids for all .glade files in the bauble module
     """
     import bauble as mod
     import glob
     head, tail = os.path.split(mod.__file__)
     files = glob.glob(os.path.join(head, '*.glade'))
     for f in files:
         ids = check_dupids(f)
         self.assert_(ids == [], "%s has duplicate ids: %s" % (f, str(ids)))
예제 #7
0
def test_duplicate_ids():
    """
    Test for duplicate ids for all .glade files in the gardens plugin.
    """
    import bauble.plugins.report as mod
    import glob
    head, tail = os.path.split(mod.__file__)
    files = []
    files.extend(glob.glob(os.path.join(head, '*.glade')))
    files = glob.glob(os.path.join(head, 'mako', '*.glade'))
    files = glob.glob(os.path.join(head, 'xsl', '*.glade'))
    for f in files:
        assert(not check_dupids(f))
예제 #8
0
def test_duplicate_ids():
    """
    Test for duplicate ids for all .glade files in the gardens plugin.
    """
    import bauble.plugins.report as mod
    import glob
    head, tail = os.path.split(mod.__file__)
    files = []
    files.extend(glob.glob(os.path.join(head, '*.glade')))
    files = glob.glob(os.path.join(head, 'mako', '*.glade'))
    files = glob.glob(os.path.join(head, 'xsl', '*.glade'))
    for f in files:
        assert (not check_dupids(f))