Return a byte strings of the test file content.
(self)
| 127 | df.write(as_yaml) |
| 128 | |
| 129 | def get_content(self): |
| 130 | """ |
| 131 | Return a byte strings of the test file content. |
| 132 | """ |
| 133 | with open(self.test_file, 'rb') as df: |
| 134 | d = df.read() |
| 135 | return d |
| 136 | |
| 137 | def get_test_method_name(self, prefix='test_detection_'): |
| 138 | test_file_name = self.test_file_name |