You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-installer-qubes-os/anaconda/docs/html/tests/tests.pyanaconda_tests.html

1206 lines
82 KiB

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tests.pyanaconda_tests package &mdash; Anaconda 25.14 documentation</title>
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="top" title="Anaconda 25.14 documentation" href="../index.html"/>
<link rel="up" title="tests package" href="tests.html"/>
<link rel="next" title="tests.regex_tests package" href="tests.regex_tests.html"/>
<link rel="prev" title="tests.lib package" href="tests.lib.html"/>
<script src="../_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="../index.html" class="icon icon-home"> Anaconda
</a>
<div class="version">
25.14
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../intro.html">Introduction to Anaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="../release.html">Building a Release</a></li>
<li class="toctree-l1"><a class="reference internal" href="../boot-options.html">Anaconda Boot Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="../kickstart.html">Anaconda Kickstart Documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../commit-log.html">Rules for commit messages</a></li>
<li class="toctree-l1"><a class="reference internal" href="../driverdisc.html">Brief description of DriverDisc version 3</a></li>
<li class="toctree-l1"><a class="reference internal" href="../iscsi.html">iSCSI and Anaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="../multipath.html">Multipath and Anaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="../modules.html">pyanaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="../testing.html">Testing</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">tests</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="tests.html">tests package</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="tests.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="tests.dd_tests.html">tests.dd_tests package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.dracut_tests.html">tests.dracut_tests package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.gettext_tests.html">tests.gettext_tests package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.glade.html">tests.glade package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.gui.html">tests.gui package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.lib.html">tests.lib package</a></li>
<li class="toctree-l4 current"><a class="current reference internal" href="">tests.pyanaconda_tests package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.regex_tests.html">tests.regex_tests package</a></li>
<li class="toctree-l4"><a class="reference internal" href="tests.storage.html">tests.storage package</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tests.html#submodules">Submodules</a></li>
<li class="toctree-l3"><a class="reference internal" href="tests.html#module-tests.usercustomize">tests.usercustomize module</a></li>
<li class="toctree-l3"><a class="reference internal" href="tests.html#module-tests">Module contents</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Anaconda</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html">Docs</a> &raquo;</li>
<li><a href="modules.html">tests</a> &raquo;</li>
<li><a href="tests.html">tests package</a> &raquo;</li>
<li>tests.pyanaconda_tests package</li>
<li class="wy-breadcrumbs-aside">
<a href="../_sources/tests/tests.pyanaconda_tests.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="tests-pyanaconda-tests-package">
<h1>tests.pyanaconda_tests package<a class="headerlink" href="#tests-pyanaconda-tests-package" title="Permalink to this headline"></a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="module-tests.pyanaconda_tests.argparse_test">
<span id="tests-pyanaconda-tests-argparse-test-module"></span><h2>tests.pyanaconda_tests.argparse_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.argparse_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.argparse_test.ArgparseTest">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.argparse_test.</code><code class="descname">ArgparseTest</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.argparse_test.ArgparseTest" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.argparse_test.ArgparseTest.dirinstall_test">
<code class="descname">dirinstall_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.argparse_test.ArgparseTest.dirinstall_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.argparse_test.ArgparseTest.display_mode_test">
<code class="descname">display_mode_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.argparse_test.ArgparseTest.display_mode_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.argparse_test.ArgparseTest.selinux_test">
<code class="descname">selinux_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.argparse_test.ArgparseTest.selinux_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.dataholder_test">
<span id="tests-pyanaconda-tests-dataholder-test-module"></span><h2>tests.pyanaconda_tests.dataholder_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.dataholder_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.dataholder_test.DataHolderTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.dataholder_test.</code><code class="descname">DataHolderTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.dataholder_test.DataHolderTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.dataholder_test.DataHolderTests.dataholder_test">
<code class="descname">dataholder_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.dataholder_test.DataHolderTests.dataholder_test" title="Permalink to this definition"></a></dt>
<dd><p>Test the DataHolder class</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.grub_raid_test">
<span id="tests-pyanaconda-tests-grub-raid-test-module"></span><h2>tests.pyanaconda_tests.grub_raid_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.grub_raid_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.grub_raid_test.</code><code class="descname">GRUBRaidSimpleTest</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_btrfs_test">
<code class="descname">grub_btrfs_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_btrfs_test" title="Permalink to this definition"></a></dt>
<dd><p>Test installing GRUB to a MBR stage1 and btrfs RAID stage2</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_mbr_partition_test">
<code class="descname">grub_mbr_partition_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_mbr_partition_test" title="Permalink to this definition"></a></dt>
<dd><p>Test installing GRUB to a MBR stage1 and partition stage2</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_mbr_raid1_test">
<code class="descname">grub_mbr_raid1_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_mbr_raid1_test" title="Permalink to this definition"></a></dt>
<dd><p>Test installing GRUB to a MBR stage1 and RAID1 stage2</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_partition_btrfs_test">
<code class="descname">grub_partition_btrfs_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_partition_btrfs_test" title="Permalink to this definition"></a></dt>
<dd><p>Test installing GRUB to a partition stage1 and MBR stage2</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_partition_partition_test">
<code class="descname">grub_partition_partition_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_partition_partition_test" title="Permalink to this definition"></a></dt>
<dd><p>Test installing GRUB to a partition stage1 and partition stage2</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_partition_raid1_test">
<code class="descname">grub_partition_raid1_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.grub_partition_raid1_test" title="Permalink to this definition"></a></dt>
<dd><p>Test installing GRUB to a partition stage1 and MBR stage2</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.grub_raid_test.GRUBRaidSimpleTest.setUp" title="Permalink to this definition"></a></dt>
<dd><p>Create some device objects to test with.</p>
<p>This sets up two disks (sda, sdb). The first partition of each
is a biosboot partition. The second partitions comprise a RAID1
array formatted as /boot.</p>
<p>sda additionally contains a third partition formatted as ext4.</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.iutil_test">
<span id="tests-pyanaconda-tests-iutil-test-module"></span><h2>tests.pyanaconda_tests.iutil_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.iutil_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.iutil_test.</code><code class="descname">MiscTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.cmp_obj_attrs_test">
<code class="descname">cmp_obj_attrs_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.cmp_obj_attrs_test" title="Permalink to this definition"></a></dt>
<dd><p>Test cmp_obj_attrs.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.get_active_console_test">
<code class="descname">get_active_console_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.get_active_console_test" title="Permalink to this definition"></a></dt>
<dd><p>Test get_active_console.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.get_deep_attr_test">
<code class="descname">get_deep_attr_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.get_deep_attr_test" title="Permalink to this definition"></a></dt>
<dd><p>Test getdeepattr.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.get_dir_size_test">
<code class="descname">get_dir_size_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.get_dir_size_test" title="Permalink to this definition"></a></dt>
<dd><p>Test the getDirSize.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.have_word_match_test">
<code class="descname">have_word_match_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.have_word_match_test" title="Permalink to this definition"></a></dt>
<dd><p>Test have_word_match.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.is_console_on_vt_test">
<code class="descname">is_console_on_vt_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.is_console_on_vt_test" title="Permalink to this definition"></a></dt>
<dd><p>Test isConsoleOnVirtualTerminal.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.lower_ascii_test">
<code class="descname">lower_ascii_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.lower_ascii_test" title="Permalink to this definition"></a></dt>
<dd><p>Test lowerASCII.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.mkdir_chain_test">
<code class="descname">mkdir_chain_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.mkdir_chain_test" title="Permalink to this definition"></a></dt>
<dd><p>Test mkdirChain.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.open_with_perm_test">
<code class="descname">open_with_perm_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.open_with_perm_test" title="Permalink to this definition"></a></dt>
<dd><p>Test the open_with_perm function</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.parent_dir_test">
<code class="descname">parent_dir_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.parent_dir_test" title="Permalink to this definition"></a></dt>
<dd><p>Test the parent_dir function</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.parse_nfs_url_test">
<code class="descname">parse_nfs_url_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.parse_nfs_url_test" title="Permalink to this definition"></a></dt>
<dd><p>Test parseNfsUrl.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.set_deep_attr_test">
<code class="descname">set_deep_attr_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.set_deep_attr_test" title="Permalink to this definition"></a></dt>
<dd><p>Test setdeepattr.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.strip_accents_test">
<code class="descname">strip_accents_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.strip_accents_test" title="Permalink to this definition"></a></dt>
<dd><p>Test strip_accents.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.to_ascii_test">
<code class="descname">to_ascii_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.to_ascii_test" title="Permalink to this definition"></a></dt>
<dd><p>Test _toASCII.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.touch_test">
<code class="descname">touch_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.touch_test" title="Permalink to this definition"></a></dt>
<dd><p>Test if the touch function correctly creates empty files</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.upper_ascii_test">
<code class="descname">upper_ascii_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.upper_ascii_test" title="Permalink to this definition"></a></dt>
<dd><p>Test upperASCII.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.MiscTests.vt_activate_test">
<code class="descname">vt_activate_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.MiscTests.vt_activate_test" title="Permalink to this definition"></a></dt>
<dd><p>Test vtActivate.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.iutil_test.</code><code class="descname">RunProgramTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_auto_kill_test">
<code class="descname">exec_readlines_auto_kill_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_auto_kill_test" title="Permalink to this definition"></a></dt>
<dd><p>Test execReadlines with reading only part of the output</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test">
<code class="descname">exec_readlines_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test" title="Permalink to this definition"></a></dt>
<dd><p>Test execReadlines.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_exits">
<code class="descname">exec_readlines_test_exits</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_exits" title="Permalink to this definition"></a></dt>
<dd><p>Test execReadlines in different child exit situations.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_filter_stderr">
<code class="descname">exec_readlines_test_filter_stderr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_filter_stderr" title="Permalink to this definition"></a></dt>
<dd><p>Test execReadlines and filter_stderr.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_normal_output">
<code class="descname">exec_readlines_test_normal_output</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_normal_output" title="Permalink to this definition"></a></dt>
<dd><p>Test the output of execReadlines.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_signals">
<code class="descname">exec_readlines_test_signals</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_readlines_test_signals" title="Permalink to this definition"></a></dt>
<dd><p>Test execReadlines and signal receipt.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_capture_empty_test">
<code class="descname">exec_with_capture_empty_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_capture_empty_test" title="Permalink to this definition"></a></dt>
<dd><p>Test execWithCapture with no output</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_capture_no_stderr_test">
<code class="descname">exec_with_capture_no_stderr_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_capture_no_stderr_test" title="Permalink to this definition"></a></dt>
<dd><p>Test execWithCapture with no stderr</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_capture_test">
<code class="descname">exec_with_capture_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_capture_test" title="Permalink to this definition"></a></dt>
<dd><p>Test execWithCapture.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_redirect_test">
<code class="descname">exec_with_redirect_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.exec_with_redirect_test" title="Permalink to this definition"></a></dt>
<dd><p>Test execWithRedirect.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.run_program_binary_test">
<code class="descname">run_program_binary_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.run_program_binary_test" title="Permalink to this definition"></a></dt>
<dd><p>Test _run_program with binary output.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.run_program_test">
<code class="descname">run_program_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.run_program_test" title="Permalink to this definition"></a></dt>
<dd><p>Test the _run_program method.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.start_program_preexec_fn_test">
<code class="descname">start_program_preexec_fn_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.start_program_preexec_fn_test" title="Permalink to this definition"></a></dt>
<dd><p>Test passing preexec_fn to startProgram.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.start_program_reset_handlers_test">
<code class="descname">start_program_reset_handlers_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.start_program_reset_handlers_test" title="Permalink to this definition"></a></dt>
<dd><p>Test the reset_handlers parameter of startProgram.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.start_program_stdout_test">
<code class="descname">start_program_stdout_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.start_program_stdout_test" title="Permalink to this definition"></a></dt>
<dd><p>Test redirecting stdout with startProgram.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.RunProgramTests.watch_process_test">
<code class="descname">watch_process_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.RunProgramTests.watch_process_test" title="Permalink to this definition"></a></dt>
<dd><p>Test watchProcess</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.iutil_test.</code><code class="descname">UpcaseFirstLetterTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests.tearDown">
<code class="descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests.tearDown" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests.upcase_first_letter_test">
<code class="descname">upcase_first_letter_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.iutil_test.UpcaseFirstLetterTests.upcase_first_letter_test" title="Permalink to this definition"></a></dt>
<dd><p>Upcasing first letter should work as expected.</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.keyboard_test">
<span id="tests-pyanaconda-tests-keyboard-test-module"></span><h2>tests.pyanaconda_tests.keyboard_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.keyboard_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.keyboard_test.</code><code class="descname">ParsingAndJoiningTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_joining_test">
<code class="descname">layout_variant_joining_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_joining_test" title="Permalink to this definition"></a></dt>
<dd><p>Should correctly join keyboard layout and variant to a string spec.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_normalize_test">
<code class="descname">layout_variant_normalize_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_normalize_test" title="Permalink to this definition"></a></dt>
<dd><p>Normalizing layout and variant strings should work as expected.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_parse_join_test">
<code class="descname">layout_variant_parse_join_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_parse_join_test" title="Permalink to this definition"></a></dt>
<dd><p>Parsing and joining valid layout and variant spec should have no effect.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_parsing_test">
<code class="descname">layout_variant_parsing_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.keyboard_test.ParsingAndJoiningTests.layout_variant_parsing_test" title="Permalink to this definition"></a></dt>
<dd><p>Should correctly parse keyboard layout and variant string specs.</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.ks_version_test">
<span id="tests-pyanaconda-tests-ks-version-test-module"></span><h2>tests.pyanaconda_tests.ks_version_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.ks_version_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.ks_version_test.BaseTestCase">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.ks_version_test.</code><code class="descname">BaseTestCase</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.BaseTestCase" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.ks_version_test.BaseTestCase.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.BaseTestCase.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.ks_version_test.</code><code class="descname">CommandVersionTestCase</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#tests.pyanaconda_tests.ks_version_test.BaseTestCase" title="tests.pyanaconda_tests.ks_version_test.BaseTestCase"><code class="xref py py-class docutils literal"><span class="pre">tests.pyanaconda_tests.ks_version_test.BaseTestCase</span></code></a></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase.commands_test">
<code class="descname">commands_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase.commands_test" title="Permalink to this definition"></a></dt>
<dd><p>Test that anaconda uses the right versions of kickstart commands</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.ks_version_test.DataVersionTestCase">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.ks_version_test.</code><code class="descname">DataVersionTestCase</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.DataVersionTestCase" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#tests.pyanaconda_tests.ks_version_test.BaseTestCase" title="tests.pyanaconda_tests.ks_version_test.BaseTestCase"><code class="xref py py-class docutils literal"><span class="pre">tests.pyanaconda_tests.ks_version_test.BaseTestCase</span></code></a></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.ks_version_test.DataVersionTestCase.data_test">
<code class="descname">data_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.DataVersionTestCase.data_test" title="Permalink to this definition"></a></dt>
<dd><p>Test that anaconda uses the right versions of kickstart data</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.ks_version_test.DracutCommandVersionTestCase">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.ks_version_test.</code><code class="descname">DracutCommandVersionTestCase</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.DracutCommandVersionTestCase" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase" title="tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase"><code class="xref py py-class docutils literal"><span class="pre">tests.pyanaconda_tests.ks_version_test.CommandVersionTestCase</span></code></a></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.ks_version_test.DracutCommandVersionTestCase.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.ks_version_test.DracutCommandVersionTestCase.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.localization_test">
<span id="tests-pyanaconda-tests-localization-test-module"></span><h2>tests.pyanaconda_tests.localization_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.localization_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.localization_test.</code><code class="descname">LangcodeLocaleMatchingTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests.find_best_locale_match_test">
<code class="descname">find_best_locale_match_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests.find_best_locale_match_test" title="Permalink to this definition"></a></dt>
<dd><p>Finding best locale matches should work as expected.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests.langcode_matches_locale_test">
<code class="descname">langcode_matches_locale_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests.langcode_matches_locale_test" title="Permalink to this definition"></a></dt>
<dd><p>Langcode-locale matching should work as expected.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests.resolve_date_format_test">
<code class="descname">resolve_date_format_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.LangcodeLocaleMatchingTests.resolve_date_format_test" title="Permalink to this definition"></a></dt>
<dd><p>All locales&#8217; date formats should be properly resolved.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.localization_test.ParsingTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.localization_test.</code><code class="descname">ParsingTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.ParsingTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.localization_test.ParsingTests.invalid_langcodes_test">
<code class="descname">invalid_langcodes_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.ParsingTests.invalid_langcodes_test" title="Permalink to this definition"></a></dt>
<dd><p>Should return None for invalid langcodes.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.localization_test.ParsingTests.parsing_test">
<code class="descname">parsing_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.localization_test.ParsingTests.parsing_test" title="Permalink to this definition"></a></dt>
<dd><p>Should correctly parse valid langcodes.</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.network_test">
<span id="tests-pyanaconda-tests-network-test-module"></span><h2>tests.pyanaconda_tests.network_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.network_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.network_test.NetworkIfcfgTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.network_test.</code><code class="descname">NetworkIfcfgTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkIfcfgTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkIfcfgTests.dracutBootArguments_s390_test">
<code class="descname">dracutBootArguments_s390_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkIfcfgTests.dracutBootArguments_s390_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkIfcfgTests.dracutBootArguments_test">
<code class="descname">dracutBootArguments_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkIfcfgTests.dracutBootArguments_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkIfcfgTests.ifcfg_mock">
<code class="descname">ifcfg_mock</code><span class="sig-paren">(</span><em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkIfcfgTests.ifcfg_mock" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.network_test.NetworkKSDataTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.network_test.</code><code class="descname">NetworkKSDataTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkKSDataTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkKSDataTests.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkKSDataTests.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkKSDataTests.update_hostname_data_test">
<code class="descname">update_hostname_data_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkKSDataTests.update_hostname_data_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.network_test.</code><code class="descname">NetworkTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests.bond_options_ksdata_to_dbus_test">
<code class="descname">bond_options_ksdata_to_dbus_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests.bond_options_ksdata_to_dbus_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests.default_ks_vlan_interface_name_test">
<code class="descname">default_ks_vlan_interface_name_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests.default_ks_vlan_interface_name_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests.nm_check_ip_address_test">
<code class="descname">nm_check_ip_address_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests.nm_check_ip_address_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests.nm_ks_spec_to_device_name_test">
<code class="descname">nm_ks_spec_to_device_name_test</code><span class="sig-paren">(</span><em>nm_hwaddr_mock</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests.nm_ks_spec_to_device_name_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests.prefix2netmask2prefix_test">
<code class="descname">prefix2netmask2prefix_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests.prefix2netmask2prefix_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.network_test.NetworkTests.sanityCheckHostname_test">
<code class="descname">sanityCheckHostname_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.network_test.NetworkTests.sanityCheckHostname_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.nm_test">
<span id="tests-pyanaconda-tests-nm-test-module"></span><h2>tests.pyanaconda_tests.nm_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.nm_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.nm_test.UtilityFunctionsTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.nm_test.</code><code class="descname">UtilityFunctionsTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.nm_test.UtilityFunctionsTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.nm_test.UtilityFunctionsTests.ipv4_address_convert_test">
<code class="descname">ipv4_address_convert_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.nm_test.UtilityFunctionsTests.ipv4_address_convert_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.nm_test.UtilityFunctionsTests.ipv6_address_convert_test">
<code class="descname">ipv6_address_convert_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.nm_test.UtilityFunctionsTests.ipv6_address_convert_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.pwpolicy">
<span id="tests-pyanaconda-tests-pwpolicy-module"></span><h2>tests.pyanaconda_tests.pwpolicy module<a class="headerlink" href="#module-tests.pyanaconda_tests.pwpolicy" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.pwpolicy.BaseTestCase">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.pwpolicy.</code><code class="descname">BaseTestCase</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.pwpolicy.BaseTestCase" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.pwpolicy.BaseTestCase.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.pwpolicy.BaseTestCase.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.pwpolicy.PwPolicyTestCase">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.pwpolicy.</code><code class="descname">PwPolicyTestCase</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.pwpolicy.PwPolicyTestCase" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#tests.pyanaconda_tests.pwpolicy.BaseTestCase" title="tests.pyanaconda_tests.pwpolicy.BaseTestCase"><code class="xref py py-class docutils literal"><span class="pre">tests.pyanaconda_tests.pwpolicy.BaseTestCase</span></code></a></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="attribute">
<dt id="tests.pyanaconda_tests.pwpolicy.PwPolicyTestCase.ks">
<code class="descname">ks</code><em class="property"> = '\n%anaconda\npwpolicy root --strict --minlen=8 --minquality=50 --nochanges --emptyok\npwpolicy user --strict --minlen=8 --minquality=50 --nochanges --emptyok\npwpolicy luks --strict --minlen=8 --minquality=50 --nochanges --emptyok\n%end\n'</em><a class="headerlink" href="#tests.pyanaconda_tests.pwpolicy.PwPolicyTestCase.ks" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.pwpolicy.PwPolicyTestCase.pwpolicy_test">
<code class="descname">pwpolicy_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.pwpolicy.PwPolicyTestCase.pwpolicy_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.simpleconfig_test">
<span id="tests-pyanaconda-tests-simpleconfig-test-module"></span><h2>tests.pyanaconda_tests.simpleconfig_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.simpleconfig_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.simpleconfig_test.</code><code class="descname">SimpleConfigTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="attribute">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.TEST_CONFIG">
<code class="descname">TEST_CONFIG</code><em class="property"> = 'ESSID=&quot;Example Network #1&quot;\nESSID2=&quot;Network #2&quot; # With a comment\nCOMMENT=&quot;Save this string&quot; # Strip this comment\n#SKIP=Skip this commented line\nBOOT=always\nKEY=VALUE # Comment &quot;with quotes&quot;\nKEY2=&quot;A single \' inside&quot; # And comment &quot;with quotes&quot;\n'</em><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.TEST_CONFIG" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.comment_test">
<code class="descname">comment_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.comment_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.no_use_tmp_test">
<code class="descname">no_use_tmp_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.no_use_tmp_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.quote_test">
<code class="descname">quote_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.quote_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.read_test">
<code class="descname">read_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.read_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.read_write_test">
<code class="descname">read_write_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.read_write_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.remove_key_test">
<code class="descname">remove_key_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.remove_key_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.set_and_get_test">
<code class="descname">set_and_get_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.set_and_get_test" title="Permalink to this definition"></a></dt>
<dd><p>Setting and getting values</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.unquote_test">
<code class="descname">unquote_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.unquote_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.unset_test">
<code class="descname">unset_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.unset_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.use_tmp_multifs_test">
<code class="descname">use_tmp_multifs_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.use_tmp_multifs_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.use_tmp_test">
<code class="descname">use_tmp_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.use_tmp_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.write_new_keys_test">
<code class="descname">write_new_keys_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.write_new_keys_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.write_test">
<code class="descname">write_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleConfigTests.write_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.simpleconfig_test.</code><code class="descname">SimpleReplaceTests</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="attribute">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.TEST_CONFIG">
<code class="descname">TEST_CONFIG</code><em class="property"> = '#SKIP=Skip this commented line\nBOOT=always\n'</em><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.TEST_CONFIG" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.append_test">
<code class="descname">append_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.append_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.no_append_test">
<code class="descname">no_append_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.no_append_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.replace_test">
<code class="descname">replace_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.simpleconfig_test.SimpleReplaceTests.replace_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.test_constants">
<span id="tests-pyanaconda-tests-test-constants-module"></span><h2>tests.pyanaconda_tests.test_constants module<a class="headerlink" href="#module-tests.pyanaconda_tests.test_constants" title="Permalink to this headline"></a></h2>
</div>
<div class="section" id="module-tests.pyanaconda_tests.timezone_test">
<span id="tests-pyanaconda-tests-timezone-test-module"></span><h2>tests.pyanaconda_tests.timezone_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.timezone_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.timezone_test.TerritoryTimezones">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.timezone_test.</code><code class="descname">TerritoryTimezones</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.TerritoryTimezones" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.TerritoryTimezones.invalid_territory_zones_test">
<code class="descname">invalid_territory_zones_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.TerritoryTimezones.invalid_territory_zones_test" title="Permalink to this definition"></a></dt>
<dd><p>Check if None is return for an invalid territory.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.TerritoryTimezones.string_valid_territory_zone_test">
<code class="descname">string_valid_territory_zone_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.TerritoryTimezones.string_valid_territory_zone_test" title="Permalink to this definition"></a></dt>
<dd><p>Check if the returned value is string for a valid territory.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.timezone_test.TimezonesListings">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.timezone_test.</code><code class="descname">TimezonesListings</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.TimezonesListings" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.TimezonesListings.all_timezones_valid_test">
<code class="descname">all_timezones_valid_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.TimezonesListings.all_timezones_valid_test" title="Permalink to this definition"></a></dt>
<dd><p>Check if all returned timezones are considered valid timezones.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.TimezonesListings.string_timezones_test">
<code class="descname">string_timezones_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.TimezonesListings.string_timezones_test" title="Permalink to this definition"></a></dt>
<dd><p>Check if returned timezones are plain strings, not unicode objects.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="tests.pyanaconda_tests.timezone_test.s390HWclock">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.timezone_test.</code><code class="descname">s390HWclock</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.s390HWclock" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.s390HWclock.s390_save_hw_clock_test">
<code class="descname">s390_save_hw_clock_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.s390HWclock.s390_save_hw_clock_test" title="Permalink to this definition"></a></dt>
<dd><p>Check that save_hw_clock does nothing on s390.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.s390HWclock.s390_time_initialize_test">
<code class="descname">s390_time_initialize_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.s390HWclock.s390_time_initialize_test" title="Permalink to this definition"></a></dt>
<dd><p>Check that time_initialize doesn&#8217;t call hwclock on s390.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.timezone_test.s390HWclock.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.timezone_test.s390HWclock.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests.user_create_test">
<span id="tests-pyanaconda-tests-user-create-test-module"></span><h2>tests.pyanaconda_tests.user_create_test module<a class="headerlink" href="#module-tests.pyanaconda_tests.user_create_test" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest">
<em class="property">class </em><code class="descclassname">tests.pyanaconda_tests.user_create_test.</code><code class="descname">UserCreateTest</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.</p>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_exists_test">
<code class="descname">create_group_exists_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_exists_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a group that already exists.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_gid_exists_test">
<code class="descname">create_group_gid_exists_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_gid_exists_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a group with a GID that already exists.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_gid_test">
<code class="descname">create_group_gid_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_gid_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a group with a specific GID.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_test">
<code class="descname">create_group_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_group_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a group.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_algo_test">
<code class="descname">create_user_algo_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_algo_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a specific password algorithm.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_exists_test">
<code class="descname">create_user_exists_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_exists_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user that already exists.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_gid_exists_test">
<code class="descname">create_user_gid_exists_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_gid_exists_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a GID of an existing group.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_gid_in_group_list_test">
<code class="descname">create_user_gid_in_group_list_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_gid_in_group_list_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a GID equal to that of one of the requested groups</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_gid_test">
<code class="descname">create_user_gid_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_gid_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a specific GID.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_groups_gid_conflict_test">
<code class="descname">create_user_groups_gid_conflict_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_groups_gid_conflict_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a bad list of groups.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_groups_test">
<code class="descname">create_user_groups_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_groups_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a list of groups.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_lock_test">
<code class="descname">create_user_lock_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_lock_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a locked user account.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_password_test">
<code class="descname">create_user_password_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_password_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a password.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_reuse_home_test">
<code class="descname">create_user_reuse_home_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_reuse_home_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_test">
<code class="descname">create_user_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_text_options_test">
<code class="descname">create_user_text_options_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_text_options_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with the text fields set.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_uid_exists_test">
<code class="descname">create_user_uid_exists_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_uid_exists_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a UID that already exists.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_uid_test">
<code class="descname">create_user_uid_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.create_user_uid_test" title="Permalink to this definition"></a></dt>
<dd><p>Create a user with a specific UID.</p>
</dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.setUp" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.set_root_password_test">
<code class="descname">set_root_password_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.set_root_password_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.set_user_ssh_key_test">
<code class="descname">set_user_ssh_key_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.set_user_ssh_key_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="tests.pyanaconda_tests.user_create_test.UserCreateTest.tearDown">
<code class="descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#tests.pyanaconda_tests.user_create_test.UserCreateTest.tearDown" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-tests.pyanaconda_tests">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-tests.pyanaconda_tests" title="Permalink to this headline"></a></h2>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="tests.regex_tests.html" class="btn btn-neutral float-right" title="tests.regex_tests package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="tests.lib.html" class="btn btn-neutral" title="tests.lib package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2015, Red Hat, Inc..
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
VERSION:'25.14',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>