'If the exception is deleted, the parent (tech., item, account) should not be deleted.
:return:'

def test_doesnt_delete_parent_cascade(self):

    try:
        raise ValueError('This    is    a    test')
    except ValueError as e:
        test_exception = e
    location = ('iamrole', 'testing', 'us-west-2', 'testrole')
    store_exception('tests', location, test_exception)
    exc = ExceptionLogs.query.all()
    db.session.delete(exc[0])
    db.session.commit()
    assert (len(Item.query.filter((Item.name == 'testrole')).all()) == 1)
    assert (len(Technology.query.filter((Technology.name == 'iamrole')).all()) == 1)
    assert (len(Account.query.filter((Account.name == 'testing')).all()) == 1)
