Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

Commit 581dae0

Browse files
committed
Fix test failure caused by ordering of services.
1 parent bec98cc commit 581dae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/config_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def test_self_referencing_file(self):
512512
We specify a 'file' key that is the filename we're already in.
513513
"""
514514
service_dicts = load_from_filename('tests/fixtures/extends/specify-file-as-self.yml')
515-
self.assertEqual(service_dicts, [
515+
self.assertEqual(sorted(service_dicts), sorted([
516516
{
517517
'environment':
518518
{
@@ -532,7 +532,7 @@ def test_self_referencing_file(self):
532532
'image': 'busybox',
533533
'name': 'web'
534534
}
535-
])
535+
]))
536536

537537
def test_circular(self):
538538
try:

0 commit comments

Comments
 (0)