[ https://issues.apache.org/jira/browse/CASSANDRA-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987994#action_12987994 ]
Amit Cahanovich commented on CASSANDRA-2063: -------------------------------------------- why is it surprising you? when you do the test, you will face one more issue. i dont remember where exactly, but in one of the parameter declaration there is an extra 'b' outside the value (instad of "a='value'" its written "a= b'value' ". anyway, i suggest also to add script that will be executed in the beginning of each and every test that will do the following: 1) delete the DB. 2) kill the existed instance of Cassandra in case there is a file of existing Casandra in root diretory. 3) delete the existing file that prevent the test from being ran. I can tell u that for me it was really confusing, especially that not much documentation is written on it. Cheers, Amit > bug with test > ------------- > > Key: CASSANDRA-2063 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2063 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7.0 > Environment: RHL. Python 2.4.3 > Reporter: Amit Cahanovich > Assignee: Eric Evans > Priority: Minor > Fix For: 0.7.2 > > Attachments: v1-0001-CASSANDRA-2063-Python2.4-friendly-imports.txt > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > when executing nosetests (e.g: nosetests test/system/test_avro_system.py), > you get the following error: > mod = load_module(part_fqname, fh, filename, desc) > File "/tmp/apache-cassandra-0.7.0-src/test/system/test_avro_system.py", > line 19 > from . import AvroTester > ^ > SyntaxError: invalid syntax > All *.py scripts should be changed to be "from __init__ import (AvroTester)" > instead of "from . import AvroTester" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.