tests.test_fizzbuzz_cli module

Tests for fizzbuzz_cli

class TestCLI(methodName='runTest')[source]

Bases: TestCase

Unittest class to test fizzbuzz_cli

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.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

test_classic_fizzbuzz()[source]

Tests classic-fizzbuzz command

test_classic_fizzbuzz_web()[source]

Tests classic-fizzbuzz-from-web command

test_cli_classic_fizzbuzz_fail()[source]

Checks that CLI classic-fizzbuzz command fails when entering a wrong value