(self, names)
| 668 | self.ignore_touch(wildcard) |
| 669 | |
| 670 | def expect_nothing(self, names): |
| 671 | for name in self.adjust_names(names): |
| 672 | if name in self.difference.added_files: |
| 673 | annotation("failure", |
| 674 | "File %s added, but no action was expected" % name) |
| 675 | self.fail_test(1) |
| 676 | if name in self.difference.removed_files: |
| 677 | annotation("failure", |
| 678 | "File %s removed, but no action was expected" % name) |
| 679 | self.fail_test(1) |
| 680 | pass |
| 681 | if name in self.difference.modified_files: |
| 682 | annotation("failure", |
| 683 | "File %s modified, but no action was expected" % name) |
| 684 | self.fail_test(1) |
| 685 | if name in self.difference.touched_files: |
| 686 | annotation("failure", |
| 687 | "File %s touched, but no action was expected" % name) |
| 688 | self.fail_test(1) |
| 689 | |
| 690 | def expect_nothing_more(self): |
| 691 | # Not totally sure about this change, but I do not see a good |
no test coverage detected