Skip to content

Conversation

@nlgio
Copy link
Contributor

@nlgio nlgio commented Jan 3, 2020

bei den Arbeiten an middlekit3 ist aufgefallen dass ein Test-Case vermutlich schon länger immer "ok" war.

Original:
https://patch-diff.githubusercontent.com/raw/nlgio/w4py3-middlekit/pull/6.diff

Die Änderung ist eigentlich nicht richtig perfekt weil nur zugunsten des Test-Case sortiert wird.

@Cito Cito merged commit e4ad57b into WebwareForPython:master Jan 3, 2020
@Cito
Copy link
Member

Cito commented Jan 3, 2020

Nice catch. Dumped classes should be sorted because the order of values() is not guaranteed. This makes total sense, not only for testing. You always want reproducible results.

@nlgio In fa79adb habe ich den Test noch so verbessert, dass er den "diff"-Befehl nicht mehr voraussetzt (unter Windows heißt der z.B. "fc"). Vielleicht willst du das in MiddleKit 3 übernehmen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants