Skip to content

Commit

Permalink
multiple config tag for testing (CiscoUcs#94)
Browse files Browse the repository at this point in the history
* adding api to enable file logging. adding reapply to bios_boot_oder

Signed-off-by: vvb <vvb@cisco.com>

* adding support for specifying config tag which test login

Signed-off-by: vvb <vvb@cisco.com>
  • Loading branch information
vvb authored Jan 20, 2017
1 parent f3fa8c4 commit 967ca2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions tests/connection/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

host = "imc"


def custom_setup():
def custom_setup(host="imc"):
try:
import ConfigParser
except:
Expand Down
4 changes: 4 additions & 0 deletions tests/server/test_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ def test_ldap_cert_mgmt_enable():
def test_ldap_cert_mgmt_disable():
ldap_certificate_management_disable(handle)
assert_equal(is_ldap_certificate_management_enabled(handle), False)


def test_ldap_disable():
ldap_configure(handle, enabled=False)

0 comments on commit 967ca2f

Please sign in to comment.