Skip to content

Commit 2981428

Browse files
committed
Mark the failing test I deactivated as xfail to make it easier for
people to run the test and try to debug it.
1 parent 44fbc81 commit 2981428

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_cgi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
from __future__ import print_function
1212
import unittest, os, shutil, errno, sys, difflib, cgi, re
1313

14+
import pytest
15+
1416
from roundup.cgi import client, actions, exceptions
1517
from roundup.cgi.exceptions import FormError, NotFound
1618
from roundup.exceptions import UsageError
@@ -451,7 +453,8 @@ def testEmptyPasswordNotSet(self):
451453
':confirm:password': ''}, 'user', nodeid),
452454
({('user', nodeid): {}}, []))
453455

454-
def no_testPasswordMigration(self):
456+
@pytest.mark.xfail
457+
def testPasswordMigration(self):
455458
# FIXME
456459
chef = self.db.user.lookup('Chef')
457460
form = dict(__login_name='Chef', __login_password='foo')

0 commit comments

Comments
 (0)