From f51b21e8bef6c68fec583454522e3487987f7635 Mon Sep 17 00:00:00 2001 From: "Aur??lio A. Heckert" Date: Mon, 13 Apr 2009 20:05:53 +0000 Subject: more basic test files and basic effect corrections (bzr r7706) --- share/extensions/test/funcplot.test.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 share/extensions/test/funcplot.test.py (limited to 'share/extensions/test/funcplot.test.py') diff --git a/share/extensions/test/funcplot.test.py b/share/extensions/test/funcplot.test.py new file mode 100755 index 000000000..daa49a4c8 --- /dev/null +++ b/share/extensions/test/funcplot.test.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +# This is only the automatic generated test file for ../funcplot.py +# This must be filled with real tests and this commentary +# must be cleared. +# If you want to help, read the python unittest documentation: +# http://docs.python.org/library/unittest.html + +import sys +sys.path.append('..') # this line allows to import the extension code + +import unittest +from funcplot import * + +class FuncPlotBasicTest(unittest.TestCase): + + #def setUp(self): + + def test_run_without_parameters(self): + args = [ 'minimal-blank.svg' ] + e = FuncPlot() + e.affect( args, False ) + #self.assertEqual( e.something, 'some value', 'A commentary about that.' ) + +if __name__ == '__main__': + unittest.main() -- cgit v1.2.3