pombreda / pydot

Automatically exported from code.google.com/p/pydot
MIT License
0 stars 0 forks source link

Many warnings running test #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change to test directory
2. python pydot_unittest.py

What is the expected output? What do you see instead?

Expected: no warnings or errors.

Actual: 

# python pydot_unittest.py 

test_add_style (__main__.TestGraphAPI) ... ok
test_attribute_with_implicit_value (__main__.TestGraphAPI) ... ok
test_create_simple_graph_with_node (__main__.TestGraphAPI) ... ok
test_executable_not_found_exception (__main__.TestGraphAPI) ... ok
test_graph_add_edge_argument_type (__main__.TestGraphAPI) ... ok
test_graph_add_node_argument_type (__main__.TestGraphAPI) ... ok
test_graph_add_subgraph_argument_type (__main__.TestGraphAPI) ... ok
test_graph_pickling (__main__.TestGraphAPI) ... ok
test_graph_with_shapefiles (__main__.TestGraphAPI) ... Warning: AI_icon was 
already in a rankset, ignored in cluster G
Warning: Biology_icon was already in a rankset, ignored in cluster G
Warning: Social_Networks_icon was already in a rankset, ignored in cluster G
Warning: Turing_icon was already in a rankset, ignored in cluster G
Warning: Rejewski_icon was already in a rankset, ignored in cluster G
Warning: Dertouzos_icon was already in a rankset, ignored in cluster G
Warning: Berners_Lee_icon was already in a rankset, ignored in cluster G

ok
test_graphviz_regression_tests (__main__.TestGraphAPI) ... 
###############Warning: node columns_foo_insider, port foo unrecognized
Warning: cluster_foo -> label_xxxxxxx: head not inside head cluster cluster_foo

#######################################Warning: hot_pink is not a known color.

###########Warning: slate_blue is not a known color.
Warning: hot pink is not a known color.

######################################################################Warning: 
layers not supported in jpe output

#Warning: layers not supported in jpe output

#Warning: layers not supported in jpe output

#############################Warning: using box for unknown shape DFDbox

##Warning: using box for unknown shape sdl_task
Warning: using box for unknown shape sdl_input_from_right
Warning: using box for unknown shape sdl_input_from_left
Warning: using box for unknown shape sdl_priority_input_from_right
Warning: using box for unknown shape sdl_priority_input_from_left
Warning: using box for unknown shape sdl_start
Warning: using box for unknown shape sdl_procedure_start
Warning: using box for unknown shape sdl_state
Warning: using box for unknown shape sdl_output_to_right
Warning: using box for unknown shape sdl_output_to_left
Warning: using box for unknown shape sdl_condition
Warning: using box for unknown shape sdl_save
Warning: using box for unknown shape sdl_stop
Warning: using box for unknown shape sdl_return
Warning: using box for unknown shape sdl_create
Warning: using box for unknown shape sdl_call
Warning: using box for unknown shape sdl_text
Warning: using box for unknown shape sdl_text_extension_from_left
Warning: using box for unknown shape sdl_text_extension_from_right
Warning: using box for unknown shape sdl_comment_from_left
Warning: using box for unknown shape sdl_comment_from_right
Warning: using box for unknown shape sdl_connector
Warning: using box for unknown shape sdl_set
Warning: using box for unknown shape sdl_reset
Warning: using box for unknown shape sdl_export

########################Warning: No such file or directory while opening jcr.gif
Warning: No or improper shapefile="jcr.gif" for node "n"
Warning: No such file or directory while opening jcr.gif
Warning: No or improper shapefile="jcr.gif" for node "x"

#####ok
test_keep_graph_type (__main__.TestGraphAPI) ... ok
test_keyword_node_id (__main__.TestGraphAPI) ... ok
test_keyword_node_id_to_string_no_attributes (__main__.TestGraphAPI) ... ok
test_keyword_node_id_to_string_with_attributes (__main__.TestGraphAPI) ... ok
test_multiple_graphs (__main__.TestGraphAPI) ... ok
test_my_regression_tests (__main__.TestGraphAPI) ... ####ok
test_names_of_a_thousand_nodes (__main__.TestGraphAPI) ... ok
test_numeric_node_id (__main__.TestGraphAPI) ... ok
test_quoted_node_id (__main__.TestGraphAPI) ... ok
test_quoted_node_id_to_string_no_attributes (__main__.TestGraphAPI) ... ok
test_subgraphs (__main__.TestGraphAPI) ... ok
test_unicode_ids (__main__.TestGraphAPI) ... ok

----------------------------------------------------------------------
Ran 22 tests in 253.656s

OK

What version of the product are you using? On what operating system?

SVN Revision 17

Please provide any additional information below.

Also, are there any docs anywhere?

Original issue reported on code.google.com by sstein...@gmail.com on 26 Nov 2010 at 3:36

GoogleCodeExporter commented 9 years ago
Sorry, Python 2.7, OS X 10.6.4

Original comment by sstein...@gmail.com on 26 Nov 2010 at 3:41

GoogleCodeExporter commented 9 years ago
Those warnings are thrown by GraphViz on their test input. I take them as 
"normal" behavior and I see them in my tests as well.

There's not much (any? ;-) ) documentation, the tests are something I run as 
part of my general & regression testing before I release a new version.

But please, do let me know if you have specific questions

Original comment by ero.carr...@gmail.com on 16 Dec 2010 at 6:26