<commit_before># Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test XML-RPC "system" namespace.

  Scenario: 
    Given I am logged in via XML-RPC/system as user "admin" and password "<PASSWORD>"
    When I call system.listSystems(), I should get a list of them.
    When I check a sysinfo by a number of XML-RPC calls, it just works. :-)
    Then I logout from XML-RPC/system.

  Scenario: create a cobbler system record for a system that is not registered (requires fedora_kickstart_profile)
    Given I am logged in via XML-RPC/system as user "admin" and password "<PASSWORD>"
    And cobblerd is running
    When I call system.createSystemRecord() with sysName "mySystem", ksLabel "fedora_kickstart_profile", ip "10.20.30.40", mac "DE:AD:BE:EF:11:22"
    Then there is a system record in cobbler named "mySystem:1"
    Then I logout from XML-RPC/system.<commit_msg>add scenario text<commit_after># Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test XML-RPC "system" namespace.

  Scenario: Check listSystems and sysinfo
    Given I am logged in via XML-RPC/system as user "admin" and password "<PASSWORD>"
    When I call system.listSystems(), I should get a list of them.
    When I check a sysinfo by a number of XML-RPC calls, it just works. :-)
    Then I logout from XML-RPC/system.

  Scenario: create a cobbler system record for a system that is not registered (requires fedora_kickstart_profile)
    Given I am logged in via XML-RPC/system as user "admin" and password "<PASSWORD>"
    And cobblerd is running
    When I call system.createSystemRecord() with sysName "mySystem", ksLabel "fedora_kickstart_profile", ip "10.20.30.40", mac "DE:AD:BE:EF:11:22"
    Then there is a system record in cobbler named "mySystem:1"
    Then I logout from XML-RPC/system.
{'fraction_non_alphanumeric': 0.08112493239588967, 'fraction_numerical': 0.01838831800973499, 'mean_word_length': 3.7927461139896375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1857004', 'n_tokens_mistral': 580, 'n_tokens_neox': 546, 'n_words': 251}