diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-01-02 13:12:19 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-01-02 13:12:19 +0000 |
commit | aa0aa384c178994f054c76aaafee8782d778feb1 (patch) | |
tree | 5867213835713e803a18fc60197fef4d4028e5db | |
parent | d3bf8fd9fff9a825e79e14c5005b6ba209b417d2 (diff) | |
download | genbackupdata-aa0aa384c178994f054c76aaafee8782d778feb1.tar.gz |
Add initial code package.
-rw-r--r-- | genbackupdatalib/__init__.py | 18 | ||||
-rw-r--r-- | genbackupdatalib/__init___tests.py | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/genbackupdatalib/__init__.py b/genbackupdatalib/__init__.py new file mode 100644 index 0000000..0b306c2 --- /dev/null +++ b/genbackupdatalib/__init__.py @@ -0,0 +1,18 @@ +# Copyright 2010 Lars Wirzenius +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + +version = '1.3' + diff --git a/genbackupdatalib/__init___tests.py b/genbackupdatalib/__init___tests.py new file mode 100644 index 0000000..d1bf452 --- /dev/null +++ b/genbackupdatalib/__init___tests.py @@ -0,0 +1,25 @@ +# Copyright 2010 Lars Wirzenius +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + +import unittest + +import genbackupdatalib + + +class GenbackupdataTests(unittest.TestCase): + + def test_provides_version_number(self): + self.assertTrue(hasattr(genbackupdatalib, 'version')) |