-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* file shouldnt be present still * starting work * starting work * stash wip installer * stash again * WIP need consistent InputData for ROM, PP so that we can propagate them forward * telling plugins about raven * stash * libraries from plugins now readable * stash * starting work * stash wip installer * stash again * WIP need consistent InputData for ROM, PP so that we can propagate them forward * telling plugins about raven * stash * libraries from plugins now readable * stash * temp stash * now running tests for plugins * example plugin connected, running tests, and using Plugin.Entity naming * extraneous file tracked * cleanup * no utils import in factory * removed numpy from utils, but plotting is hard broken now * in-time import for variablegroups * matplotlib lib update fixes segfault * module-style import of utils in lib report * pylint * cleanup removal * utils swapping fixes * maybe got all of them now? * fixed underscore escaping in existing interfaces * install all plugins, install plugins by submodule options * comments addressed * extending auto docs maker * updating CashFlow submodule ID * PRAplugin included, also some path load order fixes * comments * raven only in qsub tests * added Plugin API test to RAVEN standard testing * cleanup * stash * docs and improved tests * cleanup * added example plugin test harness * non default qsub type to plugin tests
- Loading branch information
1 parent
195981d
commit 17f0bb3
Showing
9 changed files
with
105 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2017 Battelle Energy Alliance, LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
""" | ||
RavenFramework is a tool to test raven inputs. | ||
""" | ||
from __future__ import absolute_import | ||
import os | ||
import sys | ||
import platform | ||
|
||
# need to use RavenFramework as a base | ||
try: | ||
from RavenFramework import RavenFramework | ||
except ModuleNotFoundError: | ||
sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), | ||
'..', '..', '..', '..', | ||
'scripts', 'TestHarness', 'testers')) | ||
from RavenFramework import RavenFramework | ||
sys.path.pop() | ||
|
||
class ExampleIntegration(RavenFramework): | ||
""" | ||
Example class for integration tests in ExamplePlugin | ||
""" | ||
def get_command(self): | ||
""" | ||
Gets command to run this test. | ||
@ In, None | ||
@ Out, get_command, string, command to run | ||
""" | ||
# same as RAVEN, but for demonstration add a little print | ||
command = RavenFramework.get_command(self) | ||
command += '&& echo ExamplePlugin Integration Test Complete!' | ||
return command |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters