# Path: tsuru_autoscale/action/forms.py
# class ActionForm(forms.Form):
#     name = forms.CharField()
#     url = forms.CharField()
#     method = forms.CharField()
#     body = forms.CharField(required=False)
#     headers = forms.CharField(required=False)
# 
# Path: tsuru_autoscale/action/client.py
# def host():
# def new(data, token):
# def list(token):
# def remove(name, token):
# def get(name, token):


from django.test import TestCase
from django.core.urlresolvers import reverse
from tsuru_autoscale.action.forms import ActionForm
from tsuru_autoscale.action import client
import httpretty
import mock
import os





class RemoveTestCase(TestCase):
    @mock.patch("tsuru_autoscale.action.client.list")
    @mock.patch("tsuru_autoscale.action.client.remove")
    def test_new_post(self, remove_mock, list_mock):
        url = "{}?TSURU_TOKEN=bla".format(reverse("action-remove", args=["name"]))

# Path: tsuru_autoscale/action/forms.py
# class ActionForm(forms.Form):
#     name = forms.CharField()
#     url = forms.CharField()
#     method = forms.CharField()
#     body = forms.CharField(required=False)
#     headers = forms.CharField(required=False)
# 
# Path: tsuru_autoscale/action/client.py
# def host():
# def new(data, token):
# def list(token):
# def remove(name, token):
# def get(name, token):


# Path: tsuru_autoscale/action/tests.py
from django.test import TestCase
from django.core.urlresolvers import reverse
from tsuru_autoscale.action.forms import ActionForm
from tsuru_autoscale.action import client
import httpretty
import mock
import os






class RemoveTestCase(TestCase):
    @mock.patch("tsuru_autoscale.action.client.list")
    @mock.patch("tsuru_autoscale.action.client.remove")
    def test_new_post(self, remove_mock, list_mock):
        url = "{}?TSURU_TOKEN=bla".format(reverse("action-remove", args=["name"]))

        response = self.client.delete(url)