Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Removed a test accidentally on previous merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacBlanco committed Jun 23, 2016
1 parent 2e7b047 commit 412bcff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_service_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,14 @@ def test_nifi_check_is_good(self, mock, mock2, mock3, mock4, mock5):
@mock.patch('__builtin__.raw_input', side_effect=['\n', '\n', 'v', 'y'])
def test_nifi_no_ambari_contact_continue(self, mock, mock2, mock3, mock4, mock5):
assert service_installer.install_nifi('../conf') == True


@mock.patch('scripts.service_installer.is_ambari_installed', return_value=True)
@mock.patch('scripts.service_installer.is_hdp_select_installed', return_value=True)
@mock.patch('scripts.service_installer.install_hdp_select', return_value=True)
@mock.patch('scripts.service_installer.check_ambari_service_installed', return_value=False)
@mock.patch('__builtin__.raw_input', side_effect=['\n', '\n', 'v', 'n'])
def test_nifi_no_ambari_contact_no_continue(self, mock, mock2, mock3, mock4, mock5):
assert service_installer.install_nifi('../conf') == False

class TestZeppelinAddNotebook(unittest.TestCase):

Expand Down

0 comments on commit 412bcff

Please sign in to comment.