Skip to content

Commit

Permalink
Removed TestTargetAndroid.init_target's mutable argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsof committed May 23, 2020
1 parent 6fa8df4 commit cdbef76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/targets/test_android.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def tear_method(self):
"""
self.temp_dir.cleanup()

def init_target(self, options={}):
def init_target(self, options=None):
"""
Create a buildozer.spec file in the temporary directory and init the
Buildozer and TargetAndroid instances.
Expand All @@ -82,6 +82,9 @@ def init_target(self, options={}):
will replace line 4 of the default spec file.
"""
if options is None:
options = {}

spec_path = os.path.join(self.temp_dir.name, 'buildozer.spec')

with open(TestTargetAndroid.default_specfile_path()) as f:
Expand Down

0 comments on commit cdbef76

Please sign in to comment.