From 069765376d5a5a1123901a997581c559b4a461f6 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 13 Mar 2018 01:01:18 +0100 Subject: [PATCH] Remove a useless file --- tests/main.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 tests/main.py diff --git a/tests/main.py b/tests/main.py deleted file mode 100644 index 52828af..0000000 --- a/tests/main.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/python3 - -import unittest - -class TestCleaning(unittest.TestCase): - def test_pdf(self): - self.assertEqual('foo'.upper(), 'FOO') - - def test_isupper(self): - self.assertTrue('FOO'.isupper()) - self.assertFalse('Foo'.isupper()) - - def test_split(self): - s = 'hello world' - self.assertEqual(s.split(), ['hello', 'world']) - # check that s.split fails when the separator is not a string - with self.assertRaises(TypeError): - s.split(2) - - -if __name__ == '__main__': - unittest.main()