Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix style
Pacu2ef9727e81df6
diff --git a/saleor/menu/migrations/0005_auto_20180719_0520.py b/saleor/menu/migrations/0005_auto_20180719_0520.pyindex c1e056e01e..0d6a66a813 100644--- a/saleor/menu/migrations/0005_auto_20180719_0520.py+++ b/saleor/menu/migrations/0005_auto_20180719_0520.py@@ -12,6 +12,6 @@ class Migration(migrations.Migration):operations = [migrations.AlterModelOptions(name='menu',- options={'permissions': (('manage_menus', 'Manage menus.'),)},+ options={'permissions': (('manage_menus', 'Manage navigation.'),)},),]diff --git a/saleor/menu/models.py b/saleor/menu/models.pyindex baaf76382b..cb70c80b77 100644--- a/saleor/menu/models.py+++ b/saleor/menu/models.py@@ -14,7 +14,7 @@ class Menu(models.Model):class Meta:permissions = (('manage_menus', pgettext_lazy(- 'Permission description', 'Manage menus.')),)+ 'Permission description', 'Manage navigation.')),)def __str__(self):return self.namediff --git a/saleor/shipping/migrations/0010_auto_20180719_0520.py b/saleor/shipping/migrations/0010_auto_20180719_0520.pyindex 452158a0d0..874fa4db51 100644--- a/saleor/shipping/migrations/0010_auto_20180719_0520.py+++ b/saleor/shipping/migrations/0010_auto_20180719_0520.py@@ -12,6 +12,6 @@ class Migration(migrations.Migration):operations = [migrations.AlterModelOptions(name='shippingmethod',- options={'permissions': (('manage_shipping', 'Capability to view, create, modify, and delete shipping methods.'),)},+ options={'permissions': (('manage_shipping', 'Manage shipping.'),)},),]diff --git a/saleor/shipping/models.py b/saleor/shipping/models.pyindex 51e2941d0d..98100f58c0 100644--- a/saleor/shipping/models.py+++ b/saleor/shipping/models.py@@ -22,9 +22,7 @@ class ShippingMethod(models.Model):class Meta:permissions = (('manage_shipping', pgettext_lazy(- 'Permission description',- 'Capability to view, create, modify, and delete shipping '- 'methods.')),)+ 'Permission description', 'Manage shipping.')),)def __str__(self):return self.namediff --git a/saleor/site/migrations/0016_auto_20180719_0520.py b/saleor/site/migrations/0016_auto_20180719_0520.pyindex 1d631f1308..b15f565ee5 100644--- a/saleor/site/migrations/0016_auto_20180719_0520.py+++ b/saleor/site/migrations/0016_auto_20180719_0520.py@@ -12,6 +12,6 @@ class Migration(migrations.Migration):operations = [migrations.AlterModelOptions(name='sitesettings',- options={'permissions': (('manage_settings', 'Capability to view and modify the settings section.'),)},+ options={'permissions': (('manage_settings', 'Manage settings.'),)},),]diff --git a/saleor/site/models.py b/saleor/site/models.pyindex 9ce459e05f..aa41fccd29 100644--- a/saleor/site/models.py+++ b/saleor/site/models.py@@ -27,8 +27,7 @@ class SiteSettings(models.Model):class Meta:permissions = (('manage_settings', pgettext_lazy(- 'Permission description',- 'Capability to view and modify the settings section.')),)+ 'Permission description', 'Manage settings.')),)def __str__(self):return self.site.namediff --git a/tests/dashboard/test_customer.py b/tests/dashboard/test_customer.pyindex f6c87b7fb3..3dfbd72738 100644--- a/tests/dashboard/test_customer.py+++ b/tests/dashboard/test_customer.py@@ -10,7 +10,7 @@ def test_customers_list(admin_client):assert response.status_code == 200-def test__customer_detail_view(admin_client, customer_user):+def test_customer_detail_view(admin_client, customer_user):response = admin_client.get(reverse('dashboard:customer-details', args=[customer_user.pk]))assert response.status_code == 200