Comments (2)
What would be different/better when using tox?
Locally the test in MacOS currently run fine. While the CI on github fails.
scripts/run -s
scripts/test
green 3.4.2
.................
Captured stdout for tests.test_003_connection.TestConnection.test_connection
Starting test test_connection, debug=False ...
6 results
{'host': '/127.0.0.1:52497'}
test test_connection, debug=False took 0.3 s
Captured stdout for tests.test_004_io.TestIo.test_loadGraph
Starting test test_loadGraph, debug=False ...
/Users/wf/Documents/pyworkspace/gremlin-python-tutorial/data/air-routes-small.xml has 47 vertices
test test_loadGraph, debug=False took 0.1 s
Captured stdout for tests.test_004_io.TestIo.test_saveGraph
Starting test test_saveGraph, debug=False ...
wrote graph to /tmp/A-Fish-Named-Wanda.xml
test test_saveGraph, debug=False took 0.0 s
Captured stdout for tests.test_005_graphviz.TestGraphvizGraph.test_createGraphvizGraph
Starting test test_createGraphvizGraph, debug=False ...
// Modern
digraph {
node [fillcolor="#A8D0E4" style=filled]
edge [arrowsize=2 penwidth=2]
node1 [label="1\nperson\nname=marko\nage=29"]
node2 [label="2\nperson\nname=vadas\nage=27"]
node3 [label="3\nsoftware\nname=lop"]
node4 [label="4\nperson\nname=josh\nage=32"]
node5 [label="5\nsoftware\nname=ripple"]
node6 [label="6\nperson\nname=peter\nage=35"]
node1 -> node2 [label="7\nknows\nweight=0.5"]
node1 -> node4 [label="8\nknows\nweight=1.0"]
node1 -> node3 [label="9\ncreated\nweight=0.4"]
node4 -> node5 [label="10\ncreated\nweight=1.0"]
node4 -> node3 [label="11\ncreated\nweight=0.4"]
node6 -> node3 [label="12\ncreated\nweight=0.2"]
}
test test_createGraphvizGraph, debug=False took 0.5 s
Captured stdout for tests.test_draw.TestDraw.testDraw
Starting test testDraw, debug=False ...
test testDraw, debug=False took 0.1 s
Captured stdout for tests.test_examples.TestExamples.test_air_route_latest
Starting test test_air_route_latest, debug=False ...
graph imported has 3749 vertices
test test_air_route_latest, debug=False took 0.7 s
Captured stdout for tests.test_examples.TestExamples.test_air_routes_small
Starting test test_air_routes_small, debug=False ...
graph imported has 47 vertices
test test_air_routes_small, debug=False took 0.1 s
Captured stdout for tests.test_examples.TestExamples.test_grateful_dead
Starting test test_grateful_dead, debug=False ...
graph imported has 808 vertices
test test_grateful_dead, debug=False took 0.1 s
Captured stdout for tests.test_examples.TestExamples.test_modern
Starting test test_modern, debug=False ...
test test_modern, debug=False took 0.0 s
Captured stdout for tests.test_modern.TestModern.test_load_modern
Starting test test_load_modern, debug=False ...
test test_load_modern, debug=False took 0.0 s
Captured stdout for tests.test_server.TestServer.testSocket
Starting test testSocket, debug=False ...
test testSocket, debug=False took 0.0 s
Captured stdout for tests.test_tutorial.TestTutorial.test_tutorial1
Starting test test_tutorial1, debug=False ...
[v[1], v[2], v[3], v[4], v[5], v[6]]
test test_tutorial1, debug=False took 0.0 s
Captured stdout for tests.test_tutorial.TestTutorial.test_tutorial2
Starting test test_tutorial2, debug=False ...
[v[1]]
test test_tutorial2, debug=False took 0.0 s
Captured stdout for tests.test_tutorial.TestTutorial.test_tutorial3
Starting test test_tutorial3, debug=False ...
['marko']
test test_tutorial3, debug=False took 0.0 s
Captured stdout for tests.test_tutorial.TestTutorial.test_tutorial4
Starting test test_tutorial4, debug=False ...
[e[7][1-knows->2], e[8][1-knows->4]]
test test_tutorial4, debug=False took 0.0 s
Captured stdout for tests.test_tutorial.TestTutorial.test_tutorial5
Starting test test_tutorial5, debug=False ...
['vadas', 'josh']
test test_tutorial5, debug=False took 0.0 s
Captured stdout for tests.test_tutorial.TestTutorial.test_tutorial6
Starting test test_tutorial6, debug=False ...
['vadas', 'josh']
test test_tutorial6, debug=False took 0.0 s
Ran 17 tests in 2.310s using 1 process
OK (passes=17)
from gremlin-python-tutorial.
CI tests now work. Please reopen if there is a pressing need for tox.
from gremlin-python-tutorial.
Related Issues (17)
- No module named concurrent.futures HOT 1
- Add pytest tests
- add travis configuration
- upgrade to python3
- No module named 'gremlin_python.structure.io.graphson' HOT 2
- Add test cases for the "first five minutes"
- python2.7 travis tests fail because of u string prefix HOT 1
- OSError: [Errno 24] Too many open files HOT 1
- github actions dot / graphviz not available by default on windows and macos
- refactor to use docker
- refactor to use pyproject.toml
- Allow drawing of Graphtraversals
- add pypi badge to README HOT 1
- refactor GremlinDraw to better control output
- allow to limit properties for vertices and edges
- catch StopIteration problem for edge element_map
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gremlin-python-tutorial.