def test_asset001_create_asset(self):

        today = self.today()
        now = self.now()
        now_1_day = self.now_1_day()
        now_1_week = self.now_1_week()

        # Login, if not-already done so
        self.login(account="admin", nexturl="asset/asset/create")

        self.create("asset_asset",
                    [( "number",
                       "WS_100_17"),
                     ( "item_id",
                       "Blankets"),
                     ("organisation_id",
                      "International Federation of Red Cross and Red Crescent Societies"),
                     ( "site_id",
                       "AP Zone"),
                     ( "sn",
                       "WPU-4536-9381"),
                     ( "supply_org_id",
                       "Acme Suppliers"),
                     ( "purchase_date",
                       today),
                     ( "purchase_price",
                       8),
                     ( "purchase_currency",
                       "USD"),
                     ( "comments",
                       "Test Asset")]
                     )
        # Give time for submission of record
        time.sleep(1)

        # Set Base Facility/Site
        self.browser.find_element_by_link_text("Set Base Facility/Site").click()


        self.create("asset_log",
                    [
# The datetime doesn't work so need to fix it
# It puts in a different time and so fails to find the record
#                     ( "datetime",
#                       now),
                     ( "cond",
                       "Good Condition"),
                     ( "by_person_id",
                       "Admin User"),
                     ( "comments",
                       "Test site")]
                     )

        # Give time for submission of record
        time.sleep(1)

        # Assign to Facility/Site
        self.browser.find_element_by_link_text("Assign to Facility/Site").click()

        self.create("asset_log",
                    [
#                     ( "datetime",
#                       now),
#                     ( "datetime_until",
#                       now_1_week),
                     ( "person_id",
                       "Yakobus Sereno"),
                     ( "site_id",
                       "AP Zone (Office)"),
                     #( "room-id",
                     #  "-",
                     #  "option"),
                     ( "cond",
                       "Good Condition"),
                     ( "by_person_id",
                       "Admin User"),
                     ( "comments",
                       "Test assign")]
                     )

        # Give time for submission of record
        time.sleep(1)

        self.browser.find_element_by_link_text("Assign to Person").click()

        self.create("asset_log",
#                    [( "datetime",
#                       now_1_day),
#                     ( "datetime_until",
#                       now_1_week),
                     [( "person_id",
                       "Margarida Martins"),
                     # @ToDo: Determine how to enter checkboxes
                     #( "check_in_to_person",
                     #  "true",
                     #  "option"),
                     ( "site_id",
                       "Besusu (Facility)"),
                     #( "room-id",
                     #  "-",
                     #  "option"),
                     ( "cond",
                       "Good Condition"),
                     ( "by_person_id",
                       "Yakobus Sereno"),
                     ( "comments",
                       "Test assign person")]
                     )
add extra PVs to be recorded prior to each scan
dataset/ETHPy150Open sahana/eden/modules/tests/asset/create_asset.py/CreateAsset.test_asset001_create_asset--crossover with--dataset/ETHPy150Open xraypy/xraylarch/plugins/epics/spyk.py/Spyk.add_extra_pvs