mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python: tidied up tests
This commit is contained in:
@@ -26,8 +26,6 @@ class App:
|
||||
print("Telling ResInsight to Exit")
|
||||
return self.app.Exit(Empty())
|
||||
def isConsole(self):
|
||||
print("RunTimeInfo stuff: ", self.app.GetRuntimeInfo(Empty()).app_type)
|
||||
return self.app.GetRuntimeInfo(Empty()).app_type == App_pb2.ApplicationTypeEnum.Value('CONSOLE_APPLICATION')
|
||||
def isGui(self):
|
||||
print("RunTimeInfo stuff: ", self.app.GetRuntimeInfo(Empty()).app_type)
|
||||
return self.app.GetRuntimeInfo(Empty()).app_type == App_pb2.ApplicationTypeEnum.Value('GUI_APPLICATION')
|
||||
|
||||
Reference in New Issue
Block a user