~fmos/zim/features

« back to all changes in this revision

Viewing changes to tests/templates.py

  • Committer: Fabian Moser
  • Date: 2011-01-08 18:26:21 UTC
  • mfrom: (297.1.32 pyzim-trunk)
  • Revision ID: e-mail@fabianmoser.at-20110108182621-5k8ymh4s9b7lnfkf
Merged main branch and updated sidepane registration for the tag tree plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
                        format = os.path.basename(dir)
122
122
                        if format == 'templates':
123
123
                                continue # skip top level dir
124
 
                        files = [f for f in files if not f.startswith('.')]
 
124
                        files = [f for f in files if not f.startswith('.') and not '~' in f]
125
125
                        templates = list_templates(format)
126
126
                        self.assertTrue(len(files) > 0)
127
127
                        self.assertEqual(len(templates), len(files))