minor pep8 and spelling

This commit is contained in:
Johnathan Jenkins
2016-12-21 06:35:54 -08:00
parent 596d0129d2
commit 5ba5a6b59e
3 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -2,13 +2,14 @@ import unittest
from src import manjaro_hello
class ManjaroHello(unittest.TestCase):
def setUp(self):
self.path = "test/"
def test_read_json(self):
json = manjaro_hello.read_json(self.path + "test.json")
self.assertEqual(json, {"test":"json"})
self.assertEqual(json, {"test": "json"})
json = manjaro_hello.read_json(self.path + "test")
self.assertEqual(json, None)