1from __future__ import print_function 2import unittest 3import RMF 4 5class Tests(unittest.TestCase): 6 7 def test_validate_ok(self): 8 """Test validate() on an OK file""" 9 path = RMF._get_test_input_file_path("simple-new.rmf") 10 f = RMF.open_rmf_file_read_only(path) 11 RMF.validate(f) 12 13if __name__ == '__main__': 14 unittest.main() 15