diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-07-25 20:24:30 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-07-25 20:24:30 +0200 |
| commit | 0cb7f995a12f8419781fa655b16ae2bf62c12a8b (patch) | |
| tree | a93604254eabb645091a52b08b75dbf8b0a50282 | |
| parent | 59b3609e4904910bb2d1be6a95c748b07b777211 (diff) | |
| download | geldschieberbot-0cb7f995a12f8419781fa655b16ae2bf62c12a8b.tar.gz geldschieberbot-0cb7f995a12f8419781fa655b16ae2bf62c12a8b.zip | |
test: disable pylint style checks for test code
| -rwxr-xr-x | test.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -104,6 +104,7 @@ def compare_state(comp_state): return cs == s +# pragma pylint: disable=missing-function-docstring,missing-class-docstring,invalid-name class TestRegCmd(unittest.TestCase): def setUp(self): @@ -194,7 +195,7 @@ class TestTransactionCmd(unittest.TestCase): res = run_bot(self, num[charlie], "!gib " + alice + " 10") self.assertEqual(res.stdout, - 'New Balance: {} <- 0.00 {}\n'.format(charlie, alice)) + f'New Balance: {charlie} <- 0.00 {alice}\n') def test_correct_nimm(self): res = run_bot(self, num[alice], "!nimm 10 " + bob) |
