@slow_test
@requires_mayavi
@requires_PIL
@testing.requires_testing_data
def test_report():
 check_usage(mne_report)
 tempdir = _TempDir()
 use_fname = op.join(tempdir, op.basename(raw_fname))
 shutil.copyfile(raw_fname, use_fname)
 with ArgvSetter(('-p', tempdir, '-i', use_fname, '-d', subjects_dir, '-s', 'sample', '--no-browser', '-m', '30')):
  mne_report.run()
 fnames = glob.glob(op.join(tempdir, '*.html'))
 assert_true((len(fnames) == 1))

@ slow_test @ requires_mayavi @ requires_PIL @ testing . requires_testing_data def test_report ( ) : check_usage ( mne_report ) tempdir = _TempDir ( ) use_fname = op . join ( tempdir , op . basename ( raw_fname ) ) shutil . copyfile ( raw_fname , use_fname ) with ArgvSetter ( ( '-p' , tempdir , '-i' , use_fname , '-d' , subjects_dir , '-s' , 'sample' , '--no-browser' , '-m' , '30' ) ) : mne_report . run ( ) fnames = glob . glob ( op . join ( tempdir , '*.html' ) ) assert_true ( ( len ( fnames ) == 1 ) )
tests if the reports can be saved/edited and deleted with the implemented save and delete methods .