From aa0aa384c178994f054c76aaafee8782d778feb1 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 2 Jan 2011 13:12:19 +0000 Subject: Add initial code package. --- genbackupdatalib/__init__.py | 18 ++++++++++++++++++ genbackupdatalib/__init___tests.py | 25 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 genbackupdatalib/__init__.py create mode 100644 genbackupdatalib/__init___tests.py 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 . + + +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 . + + +import unittest + +import genbackupdatalib + + +class GenbackupdataTests(unittest.TestCase): + + def test_provides_version_number(self): + self.assertTrue(hasattr(genbackupdatalib, 'version')) -- cgit v1.2.1