[ 
https://issues.apache.org/jira/browse/CASSANDRA-17293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496335#comment-17496335
 ] 

Stefan Miklosovic commented on CASSANDRA-17293:
-----------------------------------------------

[~mck] if you look here (1) (that is "new test") it says that there is a test 
called "testrun_cqlsh". However, if you look what test_unicode looks like, it 
consists of four tests (2).

If you take a look how it look in the code for one of these methods, there is, 
for example:

{code}
    def test_unicode_value_round_trip(self):
        with testrun_cqlsh(tty=True, env=self.default_env) as c:
{code}

Hence, to me, it looks like it will report that "testrun_cqlsh" is also a test 
which "passed".

I am not sure how to get rid of this. Maybe we might programmatically remove 
that entry from xml, not sure how complicated that would be. 

(1) 
https://ci-cassandra.apache.org/job/Cassandra-trunk-cqlsh-tests/lastSuccessfulBuild/cython=yes,jdk=jdk_1.8_latest,label=cassandra/testReport/cqlshlib.python3.jdk8.no_cython.test/test_unicode/

(2) 
https://ci-cassandra.apache.org/job/Cassandra-trunk-cqlsh-tests/lastSuccessfulBuild/cython=yes,jdk=jdk_1.8_latest,label=cassandra/testReport/cqlshlib.python3.jdk8.no_cython.test.test_unicode/TestCqlshUnicode/

> Update python test framework from nose to pytest
> ------------------------------------------------
>
>                 Key: CASSANDRA-17293
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17293
>             Project: Cassandra
>          Issue Type: Task
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Assignee: Brad Schoening
>            Priority: Normal
>             Fix For: 4.1
>
>
> I had trouble trying to install and run the python nose test from pip 
> (nosetest not found).
> According to the homepage of nose at [https://nose.readthedocs.io/en/latest/]
> h1. _Note to Users_
> _Nose has been in maintenance mode for the past several years and will likely 
> cease without a new person/team to take over maintainership. New projects 
> should consider using [Nose2|https://github.com/nose-devs/nose2], 
> [py.test|http://pytest.org/], or just plain unittest/unittest2._
>  
> Upgrading to pytest is likely the least effort. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to