1#!/usr/bin/env python3
2#
3# Copyright 2024, The Android Open Source Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9#     http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17import unittest
18
19
20class DevicelessPythonHostTest(unittest.TestCase):
21  """Simple python host unit test."""
22
23  @classmethod
24  def setUpClass(cls):
25    super(DevicelessPythonHostTest, cls).setUpClass()
26
27  @classmethod
28  def tearDownClass(cls):
29    super(DevicelessPythonHostTest, cls).tearDownClass()
30
31  def setUp(self):
32    super().setUp()
33
34  def tearDown(self):
35    super().tearDown()
36
37  def test_passing_test_1of2(self):
38    self.assertTrue(True)
39
40  def test_passing_test_2of2(self):
41    self.assertTrue(True)
42
43  def test_failing_test_1of1(self):
44    self.assertTrue(False, 'Intentionally failed test')
45
46
47if __name__ == '__main__':
48  unittest.main(verbosity=3)
49