# Copyright 2011 OpenStack LLC.
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.

from dtest import *
from dtest.util import *


def test_nothing():
    # Do-nothing test for the attribute access test
    pass


def test_attribute_missing():
    # Verify that missing attributes on tests raise the correct
    # exception
    with assert_raises(AttributeError):
        dummy = test_nothing._dt_dtest.missing_attr

Add a test to ensure access to missing attributes raises the correct exception
Add a test to ensure access to missing attributes raises the correct
exception
