fix developer tests
This commit is contained in:
Родитель
9acaeb18f8
Коммит
3ecc358fc3
|
@ -204,7 +204,7 @@ $mobileborder = #d7d2c3;
|
|||
}
|
||||
// No mobile man is an island.
|
||||
.island {
|
||||
&:not(.mobile-island, .summary) {
|
||||
&:not(.mobile-island):not(.summary) {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
|
|
|
@ -483,8 +483,8 @@ a.release-theme-lock {
|
|||
height: 30px;
|
||||
padding: 0 10px;
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 3px;
|
||||
top: 7px;
|
||||
|
||||
span {
|
||||
bottom: 8px;
|
||||
|
|
|
@ -1127,7 +1127,7 @@ class TestContentRatings(amo.tests.TestCase):
|
|||
|
||||
def setUp(self):
|
||||
self.create_switch('iarc')
|
||||
self.app = app_factory()
|
||||
self.app = app_factory(unrated=True)
|
||||
self.user = UserProfile.objects.get()
|
||||
AddonUser.objects.create(addon=self.app, user=self.user)
|
||||
|
||||
|
@ -1175,7 +1175,7 @@ class TestContentRatings(amo.tests.TestCase):
|
|||
rating=mkt.ratingsbodies.ESRB_M.id)
|
||||
ContentRating.objects.create(
|
||||
addon=self.app, ratings_body=mkt.ratingsbodies.PEGI.id,
|
||||
rating=mkt.ratingsbodies.PEGI_10.id)
|
||||
rating=mkt.ratingsbodies.PEGI_12.id)
|
||||
|
||||
r = ratings(self.req, app_slug=self.app.app_slug)
|
||||
doc = pq(r.content)
|
||||
|
|
|
@ -205,7 +205,7 @@ class TestEditWebappAuthors(amo.tests.TestCase):
|
|||
assert 'license_form' not in r.context, 'Unexpected license form'
|
||||
assert 'policy_form' not in r.context, 'Unexpected policy form'
|
||||
doc = pq(r.content)
|
||||
eq_(doc('.edit-addon-nav ul').eq(0).find('a').eq(1).attr('href'),
|
||||
eq_(doc('.edit-addon-nav ul').eq(0).find('a').eq(3).attr('href'),
|
||||
self.url)
|
||||
|
||||
def test_success_add_owner(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче