'Ensure connect() uses the username & password params if the URI
doesn\'t explicitly specify them.'

def test_uri_without_credentials_doesnt_override_conn_settings(self):

    c = connect(host='mongodb://localhost/mongoenginetest', username='user', password='pass')
    self.assertRaises(OperationFailure, get_db)
