Skip to content
Permalink
Browse files

Horrible hack to get a debug shell in travis

I have very mixed feelings about this
  • Loading branch information...
zenhack committed Dec 30, 2016
1 parent e78667f commit 197960eddca1fd708bad50f8766a6f0a7fa3f817
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/unit/migrations.py
@@ -210,6 +210,11 @@ def test_db_eq(filename, make_objects, extra_config):
* Compare the two resulting databases. The test passes if and only if
they are the same.
"""
import pdb, socket
conn = socket.create_connection(('zenhack.net', 3253))
conn = conn.makefile()
dbg = pdb.Pdb(stdin=conn, stdout=conn)
dbg.set_trace()

config_merge(extra_config)
load_extensions()

0 comments on commit 197960e

Please sign in to comment.
You can’t perform that action at this time.