##// END OF EJS Templates
Really check the file extension, not an arbitrary occurrence of 'rst'.
Maximilian Albert -
Show More
@@ -21,7 +21,7 b' def clean_dir():'
21 def test_simple():
21 def test_simple():
22 c = ConverterRST(fname)
22 c = ConverterRST(fname)
23 f = c.render()
23 f = c.render()
24 nt.assert_true('rst' in f, 'changed file extension to rst')
24 nt.assert_true(f.endswith('.rst'), 'changed file extension to rst')
25
25
26
26
27 @nt.with_setup(clean_dir, clean_dir)
27 @nt.with_setup(clean_dir, clean_dir)
General Comments 0
You need to be logged in to leave comments. Login now