Example #1
0
def test_list_names_only():
    set_up()
    Create.run(mock_options)
    Create.run(mock_options_1)
    Create.run(mock_options_2)
    List.run({})
    tear_down()
Example #2
0
def test_list():
    set_up()
    Create.run(mock_options)
    Create.run(mock_options_1)
    Create.run(mock_options_2)
    settings.update({
        'path': 'append_test'
    }).save()
    Create.run(mock_options)
    settings.update({
        'path': 'iprofiles'
    }).save()
    Activate.run(mock_options_4)
    List.run({})
    Activate.run(mock_options_5)
    List.run({})
    tear_down()
Example #3
0
def test_list_active_profile():
    set_up()
    Create.run(mock_options_3)
    List.run({})
    tear_down()
Example #4
0
def test_list_no_profiles():
    set_up()
    List.run({})
    tear_down()