~mterry/duplicity/list-old-chains-0.6

« back to all changes in this revision

Viewing changes to testing/selectiontest.py

  • Committer: Kenneth Loafman
  • Date: 2009-08-28 14:09:41 UTC
  • mfrom: (594.1.8 test-compat)
  • Revision ID: kenneth@loafman.com-20090828140941-wl54fo2xh0xlz3z2
Merged in ~l2g/duplicity/test-compat from Larry Gilbert which made
the testing compatible across more systems.  Also fixed the remaining
collectionstest bug which was trying to test with no cache present.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
        assert sf(root) is None
259
259
        assert sf(Path("/usr/bin")) is None, \
260
260
               "Assumption: /usr/bin is on the same filesystem as /"
261
 
        assert sf(Path("/proc")) == 0, \
262
 
               "Assumption: /proc is on a different filesystem"
 
261
        assert sf(Path("/dev")) == 0, \
 
262
               "Assumption: /dev is on a different filesystem"
263
263
 
264
264
class ParseArgsTest(unittest.TestCase):
265
265
    """Test argument parsing"""