Unmark xfaild
@@ -153,7 +153,6 @@ class TestSyncVersions(TestCase):
version_8 = Version.objects.get(slug='0.8.3')
self.assertFalse(version_8.active)
- @pytest.mark.xfail(strict=True)
def test_normal_behavior_for_stable_after_deleting_user_defined_tag(self):
"""
The user creates a tag named ``stable`` on an existing repo,
@@ -250,7 +249,6 @@ class TestSyncVersions(TestCase):
)
self.assertTrue(current_stable.machine)
- @pytest.mark.xfail(strict=True)
def test_normal_behavior_for_stable_after_deleting_user_defined_tag_2(self):
"""
The user imports a new project with a tag named ``stable``,
@@ -296,6 +294,10 @@ class TestSyncVersions(TestCase):
version_stable.identifier
)
+ # User activates the stable version
+ version_stable.active = True
+ version_stable.save()
+
# Deleting the tag should return the RTD's stable
version_post_data = {
'branches': [
