Issues (1)

tests/test_hello.py (1 issue)

1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
"""Module documentation goes here."""
5
6
import unittest
7
import sys
8
from src.hello import Greeter
9
from src.hello import main
10
11
class MyTestCase(unittest.TestCase):
12
    """Class documentation goes here."""
13
    def test_default_greeting_set(self):
14
        """Test documentation goes here."""
15
        INPUT="SDF"
0 ignored issues
show
Coding Style Naming introduced by
Variable name "INPUT" doesn't conform to snake_case naming style ('([^\\W\\dA-Z][^\\WA-Z]2,|_[^\\WA-Z]*|__[^\\WA-Z\\d_][^\\WA-Z]+__)$' pattern)

This check looks for invalid names for a range of different identifiers.

You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.

If your project includes a Pylint configuration file, the settings contained in that file take precedence.

To find out more about Pylint, please refer to their site.

Loading history...
16
        greeter = Greeter()
17
        greeter.set_message(INPUT)
18
        self.assertEqual(greeter.message, INPUT)
19
        main(sys.argv[1:])
20
21
if __name__ == '__main__':
22
    unittest.main()
23