Sha256: 522269f9a33f2f679f9be40f4529e581f73c45cd4866ebaac0358e1e8574741d

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

import sys
import unittest

from sample import sample_method

class TestSample(unittest.TestCase):
    """Any method which starts with `test_` will be considered as a test case."""

    def test_sample_method(self):
        """It does something"""

        result = sample_method()
        self.assertEqual(result, 'sample')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
learn-generate-1.0.16 lib/templates/python/sample_test.py