Skip to content

Commit

Permalink
Added bogus test to debug Travis problems
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed May 11, 2016
1 parent 6d074eb commit 21817aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_component.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
import os

import pytest
import subprocess
from py4j.java_gateway import JavaGateway, CallbackServerParameters

from asphalt.core.context import Context
from asphalt.py4j.component import Py4JComponent


def test_why_java_fails_to_run():
process = subprocess.run('java', '-showversion', stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
print('return code: %d' % process.returncode)
print('stdout: %d' % process.stdout)
print('stderr: %d' % process.stderr)


@pytest.mark.asyncio
async def test_default_gateway(caplog):
"""Test that the default gateway is started and is available on the context."""
Expand Down

0 comments on commit 21817aa

Please sign in to comment.