Exemplo n.º 1
0
    def test_main_DEL(self, m_delete):
        ARGS['command'] = 'DEL'
        calico_rkt.calico_rkt(ARGS)

        m_delete.assert_called_once_with(ARGS)
Exemplo n.º 2
0
    def test_main_DEL(self, m_delete):
        ARGS['command'] = 'DEL'
        calico_rkt.calico_rkt(ARGS)

        m_delete.assert_called_once_with(ARGS)
Exemplo n.º 3
0
    def test_main_ADD(self, m_create):
        ARGS['command'] = 'ADD'
        calico_rkt.calico_rkt(ARGS)

        m_create.assert_called_once_with(ARGS)
Exemplo n.º 4
0
    def test_main_ADD(self, m_create):
        ARGS['command'] = 'ADD'
        calico_rkt.calico_rkt(ARGS)

        m_create.assert_called_once_with(ARGS)