Ticket #5520: ordered-tests-4.patch

File ordered-tests-4.patch, 1.8 KB (added by Julian, 21 months ago)
  • deleted file twisted/topfiles/5220.bugfix

    diff --git a/twisted/topfiles/5220.bugfix b/twisted/topfiles/5220.bugfix
    deleted file mode 100644
    index 3a56142..0000000
    + -  
    1 trial now deterministically runs tests in the order in which they were specified on the command line, instead of quasi-randomly according to dictionary key ordering. 
    2  No newline at end of file 
  • twisted/topfiles/5520.feature

    diff --git a/twisted/topfiles/5520.feature b/twisted/topfiles/5520.feature
    index e69de29..3a56142 100644
    a b  
     1trial now deterministically runs tests in the order in which they were specified on the command line, instead of quasi-randomly according to dictionary key ordering. 
     2 No newline at end of file 
  • twisted/trial/test/test_script.py

    diff --git a/twisted/trial/test/test_script.py b/twisted/trial/test/test_script.py
    index 1eb8e0b..ec80e64 100644
    a b class TestRun(unittest.TestCase): 
    598598 
    599599 
    600600class TestArgumentOrderTests(unittest.TestCase): 
     601    """ 
     602    Tests for the order-preserving behavior on provided command-line tests. 
     603 
     604    """ 
     605 
    601606    def setUp(self): 
    602607        self.config = trial.Options() 
    603608        self.loader = TestLoader() 
    class TestArgumentOrderTests(unittest.TestCase): 
    605610    def test_preserveArgumentOrder(self): 
    606611        """ 
    607612        Multiple tests passed on the command line are not reordered. 
    608  
    609613        """ 
    610  
    611614        tests = [ 
    612             "twisted.manhole.test.test_explorer", 
    613             "twisted.conch.test.test_conch", 
    614             "twisted.internet.test.test_default", 
    615             "twisted.test.test_abstract", 
     615            "twisted.trial.test.test_tests", 
     616            "twisted.trial.test.test_assertions", 
     617            "twisted.trial.test.test_deferreds", 
    616618        ] 
    617619        self.config.parseOptions(tests) 
    618620