dirsrvtests/tests/tickets/ticket47973_test.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a6e905efa2d00e151ba736aceb7855f196e4258b
Author: Noriko Hosoi <nhosoi(a)redhat.com>
Date: Fri Jan 20 16:13:07 2017 -0800
Ticket 47973 - CI Test case (test_ticket47973_case)
Description: custom schema is registered in small caps after schema reload
Revised the test cases to strict the case checking.
diff --git a/dirsrvtests/tests/tickets/ticket47973_test.py
b/dirsrvtests/tests/tickets/ticket47973_test.py
index c7548a5..6c6e9eb 100644
--- a/dirsrvtests/tests/tickets/ticket47973_test.py
+++ b/dirsrvtests/tests/tickets/ticket47973_test.py
@@ -116,7 +116,7 @@ def test_ticket47973_case(topology_st):
tsfile = topology_st.standalone.schemadir + '/98test.ldif'
tsfd = open(tsfile, "w")
Mozattr0 = "MoZiLLaaTTRiBuTe"
- testschema = "dn: cn=schema\nattributetypes: ( 8.9.10.11.12.13.14 NAME
'MozillaAttribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Mozilla
Dummy Schema' )\nobjectclasses: ( 1.2.3.4.5.6.7 NAME 'MozillaObject' SUP top
MUST ( objectclass $ cn ) MAY ( " + Mozattr0 + " ) X-ORIGIN 'user
defined' )"
+ testschema = "dn: cn=schema\nattributetypes: ( 8.9.10.11.12.13.14 NAME
'" + Mozattr0 + "' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN
'Mozilla Dummy Schema' )\nobjectclasses: ( 1.2.3.4.5.6.7 NAME
'MozillaObject' SUP top MUST ( objectclass $ cn ) MAY ( " + Mozattr0 + "
) X-ORIGIN 'user defined' )"
tsfd.write(testschema)
tsfd.close()
@@ -156,7 +156,7 @@ def test_ticket47973_case(topology_st):
tsfile = topology_st.standalone.schemadir + '/97test.ldif'
tsfd = open(tsfile, "w")
Mozattr1 = "MOZILLAATTRIBUTE"
- testschema = "dn: cn=schema\nattributetypes: ( 8.9.10.11.12.13.14 NAME
'MozillaAttribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Mozilla
Dummy Schema' )\nobjectclasses: ( 1.2.3.4.5.6.7 NAME 'MozillaObject' SUP top
MUST ( objectclass $ cn ) MAY ( " + Mozattr1 + " ) X-ORIGIN 'user
defined' )"
+ testschema = "dn: cn=schema\nattributetypes: ( 8.9.10.11.12.13.14 NAME
'" + Mozattr1 + "' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN
'Mozilla Dummy Schema' )\nobjectclasses: ( 1.2.3.4.5.6.7 NAME
'MozillaObject' SUP top MUST ( objectclass $ cn ) MAY ( " + Mozattr1 + "
) X-ORIGIN 'user defined' )"
tsfd.write(testschema)
tsfd.close()
Show replies by date