Commit Graph

169 Commits

Author SHA1 Message Date
Cayo Puigdefabregas f33809fa0a up new test 2021-12-03 10:27:43 +01:00
Cayo Puigdefabregas f0d9ead977 deactivate removes for RAMs slots 2021-11-26 14:08:11 +01:00
Cayo Puigdefabregas c4a2b720ef adding property power_on_hours 2021-11-23 15:27:16 +01:00
Cayo Puigdefabregas 7ef31a3ba3 fixing tests 2021-10-23 13:41:26 +02:00
Cayo Puigdefabregas 1c2f6ba92c fixing tests 2021-10-23 13:02:10 +02:00
Cayo Puigdefabregas c2745fa437 update changelog and versions 2021-07-07 12:46:24 +02:00
Cayo Puigdefabregas c554d30291 fixing tests 2021-07-05 15:04:44 +02:00
Cayo Puigdefabregas 56078dbd8a fixing tests snapshots 2021-07-05 12:31:43 +02:00
Cayo Puigdefabregas 57007b3d92 fixing test for jwt in snapshots 2021-07-02 17:40:20 +02:00
Cayo Puigdefabregas 3d027270cc ading jwt in snapshots 2021-07-02 15:25:19 +02:00
Cayo Puigdefabregas 1098ef773f resolve conflict 2021-05-25 09:03:34 +02:00
Cayo Puigdefabregas 821178359e resolve conflicts 2021-05-12 19:06:03 +02:00
Cayo Puigdefabregas a1119b6130 Merge branch 'testing' into feature/endpoint-confirm 2021-05-12 18:52:50 +02:00
Cayo Puigdefabregas 5b6073de7e adding test about this bug 2021-05-12 12:24:22 +02:00
Cayo Puigdefabregas 882ee381b3 fixing tests 2021-05-10 11:52:43 +02:00
Cayo Puigdefabregas 149255bcfe resolve conflicts 2021-04-16 18:16:07 +02:00
Cayo Puigdefabregas 68ffa0ddff fixing tests 2021-04-16 11:14:36 +02:00
Cayo Puigdefabregas 2b60af8b08 fixing tests and property url of device 2021-03-09 12:54:57 +01:00
Cayo Puigdefabregas b83563e0ea swap SystemID for DevicehubID 2021-03-08 22:43:24 +01:00
Cayo Puigdefabregas 0d899d1e6a adding mobil snapshot 2021-02-15 12:37:18 +01:00
Cayo Puigdefabregas fd7920b3f9 fixed test 2021-01-26 15:35:42 +01:00
Cayo Puigdefabregas 1e50386b93 fixed test 2021-01-25 16:10:23 +01:00
Cayo Puigdefabregas c3b860b69c test reproduce bug 1888 2021-01-25 15:38:09 +01:00
Cayo Puigdefabregas 47b7b4224c test and fixed bug 1860 2021-01-22 13:19:29 +01:00
Cayo Puigdefabregas 8820395211 add asserts to test 2021-01-21 12:32:55 +01:00
Cayo Puigdefabregas ff77e3b065 reproduce bug in a test 2021-01-21 12:25:38 +01:00
Cayo Puigdefabregas 5241c73a98 not required chassis in all system 2020-12-17 10:45:01 +01:00
Cayo Puigdefabregas aef220a5dc chassis not required 2020-12-16 22:05:33 +01:00
Cayo Puigdefabregas 2e11a9f28f resolve conflict CHANGELOG 2020-12-10 11:13:12 +01:00
Cayo Puigdefabregas 51d0bd0cc0 Merge branch 'testing' into bugfix/88-action-end_time 2020-12-10 10:54:11 +01:00
Cayo Puigdefabregas 729281383e resolve conflicts 2020-12-10 10:30:50 +01:00
Cayo Puigdefabregas 2c67e3be93 resolve conflict 2020-12-09 12:32:00 +01:00
Cayo Puigdefabregas 68a8f70de4 resolve conflict 2020-12-09 11:29:10 +01:00
Cayo Puigdefabregas eaa20b4302 fixing conflict merge with testing 2020-12-09 11:12:47 +01:00
Cayo Puigdefabregas 11c1363d04 fixing tests 2020-11-30 21:18:24 +01:00
Cayo Puigdefabregas 7c1c8060c5 test playing the bug 2020-11-30 10:48:48 +01:00
Cayo Puigdefabregas 517007ef50 fixing test 2020-11-28 19:04:54 +01:00
Cayo Puigdefabregas 2fd0c61cc3 adding test for reproduce the bug 2020-11-28 18:35:53 +01:00
Cayo Puigdefabregas b56c3d3e0a fixed some tests 2020-11-12 21:00:33 +01:00
Cayo Puigdefabregas fb899b558f Merge branch 'testing' into feature/77-add-owner-device 2020-11-06 21:26:43 +01:00
Cayo Puigdefabregas bc5cbb2eff same computer saved from diferents users 2020-11-06 20:48:09 +01:00
Cayo Puigdefabregas bc923d5576 fixed test for check with owners 2020-11-06 17:14:16 +01:00
Cayo Puigdefabregas 19eca48db0 resolve conflict 2020-10-29 19:19:33 +01:00
cayop f7f7432c4e
Merge pull request #81 from eReuse/bugfix/74-json-backup-time-in-name
Bugfix/74 json backup time in name
2020-10-29 19:08:31 +01:00
Cayo Puigdefabregas ed32f691f7 fixing test for new structure and adding debug test 2020-10-29 16:09:38 +01:00
Cayo Puigdefabregas 785d8091ea adding new test for check the debug file 2020-10-29 12:39:11 +01:00
Cayo Puigdefabregas 954dfa95a1 check in test this bug about time in the filename 2020-10-29 11:59:53 +01:00
Cayo Puigdefabregas 3988079b01 drop pdb 2020-10-16 16:32:16 +02:00
Cayo Puigdefabregas e00c3f576c document new function 2020-10-16 16:31:54 +02:00
Cayo Puigdefabregas 7313f7cf73 fixed test 2020-10-16 16:26:37 +02:00
Cayo Puigdefabregas 139c1e290a resolve conflict 2020-10-16 15:12:21 +02:00
Cayo Puigdefabregas 76806299cd update devices when there are a new action 2020-10-16 15:08:54 +02:00
Cayo Puigdefabregas 79b4c738e9 change the name of the file 2020-10-15 11:00:11 +02:00
Cayo Puigdefabregas e4cf093b4b test of case when the time mark need to be updated 2020-10-14 13:41:28 +02:00
Cayo Puigdefabregas 150c73779d adding new tests of snapshots 2020-10-14 11:40:33 +02:00
Cayo Puigdefabregas d3ef6cc65d add user to the name file of json and more readable date 2020-10-13 15:59:39 +02:00
Cayo Puigdefabregas ae98d3154c TMP_SNAPSHOTS defined in config file 2020-10-13 15:37:21 +02:00
Cayo Puigdefabregas 49668a4f4f open files using with statement 2020-10-09 20:54:12 +02:00
Cayo Puigdefabregas 99a12b2b22 bugfix 2020-10-09 20:40:22 +02:00
Cayo Puigdefabregas 2a53e1672c using os.path.join instead of format 2020-10-09 20:29:02 +02:00
Cayo Puigdefabregas 3b93012584 fixing test with a bad snapshot 2020-10-08 14:48:22 +02:00
Cayo Puigdefabregas e36256ee72 clean test 2020-10-07 19:28:52 +02:00
Cayo Puigdefabregas 420b7ad4ab adding test_save_snapshot_in_file 2020-10-07 19:05:52 +02:00
Cayo Puigdefabregas 236806466a test backup snapshot 2020-10-07 18:28:07 +02:00
Cayo Puigdefabregas e6b2a92f7f base of the test with out serial number 2020-10-07 12:57:14 +02:00
Cayo Puigdefabregas 49ea96b862 UniqueViolation intead of DBError in test_snapshot_upload_twice_uuid_error 2020-08-04 12:10:18 +02:00
nad cb55312852 Fixing test_snapshot.py::test_snapshot_post_without_hid 2020-08-03 19:16:11 +02:00
Cayo Puigdefabregas 08b2fe90d0 bugfix: user before tag_id 2020-07-23 07:56:51 +02:00
Cayo Puigdefabregas 546dfd80be bugfix/test_erase_privacy_standards_endtime_sort 2020-07-20 20:21:44 +02:00
nad ce0aedd0d2 Fixing test_snapshot::test_snapshot_component_add_remove 2020-07-15 11:58:38 +02:00
Jordi Nadeu d041ef6a54
First iteration test suite mvp (#37)
* First commit marking mvp decorator

* Minor code style enhancements

* Fixing some mvp test

* Fixing some mvp test

* Fixing test_sync_execute_register_no_hid_tag_not_linked

* First iteration with almost all mvp tests working correctly

* Rollback models.pyi of lot and device resources

* Changing Github action to execute tests with tag mvp
2020-07-07 17:17:41 +02:00
Jordi Nadeu 75150437b6
Adding severity to incomplete HID when POST an action Snapshot (#32)
* Adding severity to incomplete HID snapshot

* Minor fixes when HID are null
2020-07-07 17:17:19 +02:00
nad 115986c7e0 Adding test to check if upload snapshot without HID fields 2020-03-25 21:32:48 +01:00
jordi.nadeu d1cff3e44e first iteration integration with blockchain 2020-03-11 13:04:18 +01:00
nad 3d6fef9927 change comments to comply with the standard PEP 257 2019-06-19 13:35:26 +02:00
nad 970e1db228 improve reports and rate tests 2019-05-20 19:32:29 +02:00
nad 82bf20ff3d debug and improve tests about rate v1 2019-05-14 20:32:24 +02:00
Xavier Bustamante Talavera 61f4c127d4 Change event to action complying with schema.org 2019-05-11 16:27:22 +02:00
Xavier Bustamante Talavera 0dc8ced255 Sort events by default using end_time 2019-05-10 18:00:38 +02:00
Xavier Bustamante Talavera 16d00256df Review rate changes 2019-05-08 19:12:05 +02:00
nad 7bb514d23c rewrite some tests to rate v2 structure 2019-05-02 17:49:15 +02:00
nad 2108526cec fix some snapshots errors 2019-04-30 10:26:06 +02:00
nad 7b6a2cd1db refactor score code to new rate v2 structure 2019-04-30 02:02:23 +02:00
nad 5ec7ed54e6 refactor tests to new rate version 2019-04-23 21:30:08 +02:00
Xavier Bustamante Talavera 32e696c57c Fix rate related issues 2019-02-13 18:59:14 +01:00
Xavier Bustamante Talavera d6ca5e2922 Fix incorrect dates; add final_flush, move committing after serializing 2019-02-04 18:20:50 +01:00
Xavier Bustamante Talavera bf8a943883 Remove re-setting ordered_components hotfix; bump ereuse-utils 2019-01-29 19:01:20 +01:00
Xavier Bustamante Talavera 5fb1471d9b Use type for HID 2019-01-02 17:52:43 +01:00
Xavier Bustamante Talavera b59721707d Fix test_snapshot_different_properties_same_tags 2018-11-17 20:21:11 +01:00
Xavier Bustamante Talavera 91beed87ee Working Price; working test mobile with imei; update manual rate test 2018-11-17 19:22:41 +01:00
Xavier Bustamante Talavera 9c3de1c258 Complete ErasePhysical and EraseBasic.standards; remove EraseBasic.zeros 2018-11-17 18:24:34 +01:00
Xavier Bustamante Talavera bd0eb3aad3 Add Device problems, privacy, working; Add event ErasePhysical 2018-11-09 11:22:13 +01:00
Xavier Bustamante Talavera e009bf4bc1 Change Event.error/incidence for Event.severity 2018-11-08 17:37:14 +01:00
Xavier Bustamante Talavera a600dd8e54 Fix test_test_data_storage 2018-10-27 09:01:13 +02:00
Xavier Bustamante Talavera 8567c629cb Add new fixtures and dummy 2018-10-25 12:36:25 +02:00
Xavier Bustamante Talavera 10c73a4e75 Add ComputerAccessory, Networking, Printer, Sound, Video devices 2018-10-23 15:37:37 +02:00
Xavier Bustamante Talavera 3cc510831c Add states and quick-access properties on Device; merge in ereuse-rate 2018-10-13 14:53:46 +02:00
Xavier Bustamante Talavera 94c44e3480 Add Smartphone; remove Inventory and use DeviceView 2018-10-04 10:59:31 +02:00
Xavier Bustamante Talavera 042b7718ec Use SanitizedStr and CITText, lowering many strings 2018-09-30 12:29:33 +02:00
Xavier Bustamante Talavera bc95fa98b1 Ensure only computers can have components 2018-09-21 10:43:15 +02:00