@@ -78,16 +78,16 @@ def test_bricks_to_pyproject_packages():
7878}
7979
8080unsorted_packages = [
81- {"include" : "hello/c" , "from" : "components" },
82- {"include" : "hello/a" , "from" : "bases" },
8381 {"include" : "hello/b" , "from" : "components" },
82+ {"include" : "hello/x" , "from" : "bases" },
83+ {"include" : "hello/a" , "from" : "components" },
8484]
8585
8686expected_sorted_pep621_bricks = {
8787 "bases/hello/first" : "hello/first" ,
88- "bases/hello/a" : "hello/a" ,
88+ "bases/hello/x" : "hello/x" ,
89+ "components/hello/a" : "hello/a" ,
8990 "components/hello/b" : "hello/b" ,
90- "components/hello/c" : "hello/c" ,
9191}
9292
9393poetry_project_data = """\
@@ -140,9 +140,9 @@ def test_generate_updated_poetry_project_with_the_bricks_to_update_sorted():
140140
141141 expected = [
142142 {"include" : "hello/first" , "from" : "bases" },
143- {"include" : "hello/a" , "from" : "bases" },
143+ {"include" : "hello/x" , "from" : "bases" },
144+ {"include" : "hello/a" , "from" : "components" },
144145 {"include" : "hello/b" , "from" : "components" },
145- {"include" : "hello/c" , "from" : "components" },
146146 ]
147147
148148 updated = update .generate_updated_project (data , unsorted_packages )
0 commit comments