1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

r26608: More improvements to the upgrade code.

(This used to be commit 7ea06d91f6)
This commit is contained in:
Jelmer Vernooij
2007-12-27 03:09:49 -06:00
committed by Stefan Metzmacher
parent c4d3666ac2
commit 222262b54e
5 changed files with 302 additions and 143 deletions

View File

@ -17,12 +17,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from samba.upgrade import regkey_to_dn
import samba.upgrade
from unittest import TestCase
class RegkeyDnTests(TestCase):
def test_empty(self):
self.assertEquals("hive=NONE", regkey_to_dn(""))
def test_nested(self):
self.assertEquals("key=bar,key=foo,hive=NONE", regkey_to_dn("foo/bar"))