擅长:python、mysql、java
<p>您需要将这些方法重命名为以单词“test”开头。</p>
<p>如<a href="http://docs.python.org/library/unittest.html" rel="noreferrer">http://docs.python.org/library/unittest.html</a>所示:</p>
<blockquote>
<p>A testcase is created by subclassing unittest.TestCase. The three individual tests are defined with methods whose names start with the letters test. This naming convention informs the test runner about which methods represent tests.</p>
</blockquote>