Skip to content

Commit

Permalink
Remove compare test. Did something wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed May 19, 2021
1 parent 88418db commit 9210a12
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions mepo.d/utest/test_mepo_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@

from input import args

from command.init import init as mepo_init
from command.clone import clone as mepo_clone
from command.list import list as mepo_list
from command.status import status as mepo_status
from command.compare import compare as mepo_compare
from command.init import init as mepo_init
from command.clone import clone as mepo_clone
from command.list import list as mepo_list
from command.status import status as mepo_status

class TestMepoCommands(unittest.TestCase):

Expand Down Expand Up @@ -69,14 +68,6 @@ def test_status(self):
saved_output = fin.read()
self.assertEqual(output.getvalue(), saved_output)

def test_compare_no_change(self):
sys.stdout = output = StringIO()
mepo_compare.run(args)
sys.stdout = sys.__stdout__
with open(os.path.join(self.__class__.output_dir, 'compare_no_change.txt'), 'r') as fin:
saved_output = fin.read()
self.assertEqual(output.getvalue(), saved_output)

def tearDown(self):
pass

Expand Down

0 comments on commit 9210a12

Please sign in to comment.