Add stubs for dulwich.config.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 31 Oct 2011 06:02:41 +0000 (23:02 -0700)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 31 Oct 2011 06:02:41 +0000 (23:02 -0700)
dulwich/config.py [new file with mode: 0644]
dulwich/tests/__init__.py
dulwich/tests/test_config.py [new file with mode: 0644]

diff --git a/dulwich/config.py b/dulwich/config.py
new file mode 100644 (file)
index 0000000..2432a20
--- /dev/null
@@ -0,0 +1,22 @@
+# config.py - Reading and writing Git config files
+# Copyright (C) 2011 Jelmer Vernooij <jelmer@samba.org>
+#
+# 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; version 2
+# of the License or (at your option) a 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA  02110-1301, USA.
+
+"""Reading and writing Git configuration files.
+
+"""
+
index 69bdaf031aa73faa5f93603fb773544eb64d34b7..256da959cb96965b49d9eb7941b4eed01dc57d15 100644 (file)
@@ -75,6 +75,7 @@ def self_test_suite():
     names = [
         'blackbox',
         'client',
+        'config',
         'diff_tree',
         'fastexport',
         'file',
diff --git a/dulwich/tests/test_config.py b/dulwich/tests/test_config.py
new file mode 100644 (file)
index 0000000..083ecbd
--- /dev/null
@@ -0,0 +1,21 @@
+# test_config.py -- Tests for reading and writing configuration files
+# Copyright (C) 2011 Jelmer Vernooij <jelmer@samba.org>
+#
+# 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 2
+# or (at your option) a later version of the License.
+#
+# 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, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA  02110-1301, USA.
+
+"""Tests for reading and writing configuraiton files."""
+
+