File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,9 @@ def test_001_build_android(self):
127
127
output = Tns .build_android (attributes = {"--path" : self .app_name , "--clean" : "" })
128
128
after_build = datetime .datetime .now ()
129
129
build_time = (after_build - before_build ).total_seconds ()
130
- assert "Gradle build..." in output , "Gradle build not called."
131
- assert output .count ("Gradle build..." ) is 2 , "Only one gradle build is triggered."
130
+ assert "Gradle clean..." in output , "Gradle clean is not called."
131
+ assert "Gradle build..." in output , "Gradle build is not called."
132
+ assert output .count ("Gradle build..." ) is 1 , "More than 1 gradle build is triggered."
132
133
assert build_time > 10 , "Clean build takes less then 15 sec."
133
134
assert build_time < 90 , "Clean build takes more than 90 sec."
134
135
You can’t perform that action at this time.
0 commit comments