### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe »
- Package::safe.common »

# Module: safe.common.test_tables

InaSAFE Disaster risk assessment tool developed by AusAid -
  Table Tests implementation.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class `safe.common.test_tables.``TablesTest`(methodName='runTest')

  Test the SAFE Table

  `setUp`()

    Fixture run before all tests

  `tearDown`()

    Fixture run after each test

  `test_cell_header`()

    Test we can make a cell as a <th> element

  `test_cell_link`()

    Test cell links work

  `test_col_span`()

    Testing column spanning

  `test_column`()

    Test to retrieve all element in a column.

  `test_nested_table_in_cell`()

    Test nested table in cell

  `test_row_from_string`()

    Test row from string - it should span to the table width too

  `test_row_span`()

    Testing row spanning

  `test_simple_table`()

    Test simple table creation

  `test_table_by_rows`()

    Test table from infividual rows

  `test_table_caption`()

    Test table caption

  `test_table_cells`()

    Test table from individual cells

  `test_table_from_string`()

    Test table from string - should be a single cell in a single row

  `test_table_with_colalign`()

    Table columns can be right justified

  `test_table_with_header`()

    Test html render of a table with header row(s).

  `tmpDir`()

    Helper to get os temp dir.

    Args: None

    Returns: str Absolute filesystem path to temp dir.

    Raises: None

This module forms part of the InaSAFE tool.

### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe »
- Package::safe.common »