Skip to content

Commit

Permalink
tests: fix ip check after the rename current_ip->ip
Browse files Browse the repository at this point in the history
- Fixes tests for PR jupyterhub#139
  • Loading branch information
rkdarst committed Jun 14, 2019
1 parent f0b091f commit ec4e0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batchspawner/tests/test_spawners.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def check_ip(spawner, value):
if version_info < (0,7):
assert spawner.user.server.ip == value
else:
assert spawner.current_ip == value
assert spawner.ip == value

def test_spawner_start_stop_poll(db, io_loop):
spawner = new_spawner(db=db)
Expand Down

0 comments on commit ec4e0bc

Please sign in to comment.