| """Tests for relationship helpers.""" | |
| import os | |
| import sys | |
| sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) | |
| from world.relationships import canonical_pair | |
| def test_canonical_pair_ordering(): | |
| a, b = canonical_pair("zzz", "aaa") | |
| assert a == "aaa" | |
| assert b == "zzz" | |