File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
hermetic_build/common/tests/model Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -127,11 +127,21 @@ def test_is_monorepo_with_one_library_returns_false(self):
127127 )
128128 self .assertFalse (config .is_monorepo ())
129129
130+ def test_is_monorepo_with_one_library_explicit_set_true (self ):
131+ config = GenerationConfig (
132+ gapic_generator_version = "" ,
133+ googleapis_commitish = "" ,
134+ libraries = [library_1 ],
135+ monorepo = True
136+ )
137+ self .assertTrue (config .is_monorepo ())
138+
130139 def test_is_monorepo_with_two_libraries_returns_true (self ):
131140 config = GenerationConfig (
132141 gapic_generator_version = "" ,
133142 googleapis_commitish = "" ,
134143 libraries = [library_1 , library_2 ],
144+ monorepo = True
135145 )
136146 self .assertTrue (config .is_monorepo ())
137147
You can’t perform that action at this time.
0 commit comments