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:
committed by
Stefan Metzmacher
parent
c4d3666ac2
commit
222262b54e
@ -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"))
|
||||
|
Reference in New Issue
Block a user