~duplicity-team/duplicity/0.7-series

« back to all changes in this revision

Viewing changes to testing/functional/test_rdiffdir.py

  • Committer: Kenneth Loafman
  • Date: 2014-12-12 14:39:54 UTC
  • Revision ID: kenneth@loafman.com-20141212143954-wyln65yd1ynzsrlx
* Source formatted, using PyDev, all source files to fix some easily fixed
  PEP8 issues. Use ignore space when comparing against previous versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        assert sig_path.exists()
52
52
 
53
53
        # FIXME: How does this work?  Path comparisons don't seem to work right
54
 
        #assert new_path.compare_recursive(seq_path, verbose = 1)
 
54
        # assert new_path.compare_recursive(seq_path, verbose = 1)
55
55
 
56
56
        for dirname in dirname_list[1:]:
57
57
            new_path = path.Path(dirname)
59
59
            # Make delta
60
60
            if delta_path.exists(): delta_path.delete()
61
61
            assert not delta_path.exists()
62
 
            self.run_rdiffdir("delta %s %s %s" %
 
62
            self.run_rdiffdir("delta %s %s %s" % 
63
63
                              (sig_path.name, new_path.name, delta_path.name))
64
64
            delta_path.setdata()
65
65
            assert delta_path.exists()
68
68
            self.run_rdiffdir("patch %s %s" % (seq_path.name, delta_path.name))
69
69
            seq_path.setdata()
70
70
            new_path.setdata()
71
 
            assert new_path.compare_recursive(seq_path, verbose = 1)
 
71
            assert new_path.compare_recursive(seq_path, verbose=1)
72
72
 
73
73
            # Make new signature
74
74
            sig_path.delete()