Ignore:
Timestamp:
10/09/2024 02:00:29 PM (14 hours ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
04410a21
Parents:
be06bd0e
git-author:
Xi Ruoyao <xry111@…> (10/09/2024 01:07:10 PM)
git-committer:
Xi Ruoyao <xry111@…> (10/09/2024 02:00:29 PM)
Message:

smartypants: Add test instruction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-dependencies/smartypants.xml

    rbe06bd0e r3a29154b  
    6565        </listitem>
    6666      </itemizedlist>
    67       <!-- The test suite seems to be broken
     67
    6868      <bridgehead renderas="sect4">Smartypants Dependencies</bridgehead>
    6969
    7070      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    7171      <para role="optional">
     72        <xref linkend="docutils"/>,
     73        <xref linkend="pygments"/>, and
    7274        <xref linkend="pytest"/>
    7375      </para>
    74       -->
    7576
    7677    </sect3>
     
    99100    </para>
    100101
    101 <screen role="root"><userinput>&install-wheel; smartypants</userinput></screen>
     102    <screen role="root"><userinput>&install-wheel; smartypants</userinput></screen>
     103
     104    <para>
     105      To test the results, issue:
     106    </para>
     107
     108    <screen remap="test"><userinput>sed 's/assertEquals/assertEqual/' -i tests/test_cli.py &amp;&amp;
     109cp /usr/bin/smartypants . &amp;&amp;
     110pytest</userinput></screen>
    102111
    103112    </sect3>
Note: See TracChangeset for help on using the changeset viewer.