## diff_test
diff_test(name, file1, file2, expect_same, kwargs)A test that compares the contents of two files. The test succeeds when the files are expected to be the same (with regard to file contents) and are in fact the same, or when the files are expected to be different and are in fact so. ### Parameters
name |
required.
The name of the test rule. |
file1 |
required.
Label of the file to compare to |
file2 |
required.
Label of the file to compare to |
expect_same |
optional. default is True
Whether the files are expected to be the same or not. The test passes if this is True and the files are the same, or if this is False and the files are not the same. |
kwargs |
optional. |