Skip to content

Commit

Permalink
Tests modifs
Browse files Browse the repository at this point in the history
  • Loading branch information
fp12 committed Jan 6, 2017
1 parent e5fd813 commit 7d2b788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def test_e_bulk(self):
self.assertEqual(len(t.participants), 4)
yield from self.user.destroy_tournament(t)

@unittest.skip('Failing')
@unittest.expectedFailure
@async_test
def test_f_checkin(self):
random_name = get_random_name()
Expand All @@ -196,7 +196,7 @@ def test_f_checkin(self):

new_start_date = datetime.now() + timedelta(minutes=5)
total_time = 0.0
while t.start_at is None and total_time <= 30.0:
while t.start_at is None and total_time <= 10.0:
try:
yield from t.set_start_date(new_start_date.strftime('%Y/%m/%d'),
new_start_date.strftime('%H:%M'),
Expand All @@ -212,7 +212,7 @@ def test_f_checkin(self):

if False:
total_time = 0.0
while p.checked_in_at is None and total_time <= 30.0:
while p.checked_in_at is None and total_time <= 10.0:
try:
yield from p.check_in()
except challonge.ChallongeException:
Expand All @@ -228,7 +228,7 @@ def test_f_checkin(self):

self.assertNotEqual(t.state, 'checked_in')
total_time = 0.0
while t.state != 'checked_in' and total_time <= 30.0:
while t.state != 'checked_in' and total_time <= 10.0:
try:
yield from t.process_check_ins()
except challonge.ChallongeException:
Expand Down Expand Up @@ -383,7 +383,7 @@ def test_b_text(self):

yield from self.user.destroy_tournament(t)

@unittest.skip('Failing to upload')
@unittest.expectedFailure
@async_test
def test_c_file(self):
random_name = get_random_name()
Expand Down

0 comments on commit 7d2b788

Please sign in to comment.