Commit Graph

735 Commits

Author SHA1 Message Date
Cayo Puigdefabregas 322b340607 add fix test with redirects 2022-04-29 17:41:13 +02:00
Cayo Puigdefabregas b933581b89 add file snapshotErrorsComponents.json 2022-04-26 12:12:31 +02:00
Cayo Puigdefabregas 53a43ff6cb add test for wb lite 2022-04-26 10:47:29 +02:00
Cayo Puigdefabregas f666047565 adapt test for error 400 instead of 422 2022-04-25 18:40:53 +02:00
Cayo Puigdefabregas 767f7c3092 add tests wb lite errors 422 2022-04-25 17:21:25 +02:00
Cayo Puigdefabregas 515dad5850 fix test for the new api response 201 2022-04-25 14:06:05 +02:00
Cayo Puigdefabregas 531e213eff change sid for wbid in tests 2022-04-25 11:54:16 +02:00
Cayo Puigdefabregas fd74804f35 add actions test 2022-04-21 14:01:03 +02:00
Cayo Puigdefabregas b986b6e95a more tests 2022-04-20 18:22:22 +02:00
Cayo Puigdefabregas 2fecd1aa60 add more test 2022-04-20 12:35:50 +02:00
Cayo Puigdefabregas 25dc0047dc add tests 2022-04-19 18:39:05 +02:00
Cayo Puigdefabregas 7c0b3c190c test for check general snapshots 2022-04-19 10:47:49 +02:00
Cayo Puigdefabregas 7f6cac0242 fix qemu test 2022-04-18 19:08:23 +02:00
Cayo Puigdefabregas 093e78d2c8 add new test snapshot lite for clonic desktop 2022-04-18 17:13:38 +02:00
Cayo Puigdefabregas 99e7764945 add check wbid and owner in lite wb 2022-04-12 11:19:56 +02:00
Cayo Puigdefabregas e37e3b4c12 add file snapshot error timestamp 2022-04-11 11:39:43 +02:00
Cayo Puigdefabregas cfe41e152b test for errors of snapshot schemas 2022-04-11 11:25:09 +02:00
Cayo Puigdefabregas 09738478ae change schema_version for schema_api 2022-04-08 16:46:57 +02:00
Cayo Puigdefabregas 50d0dffc16 add api to basic test 2022-04-08 12:45:35 +02:00
Cayo Puigdefabregas 028f3c8e74 precommit 2022-04-08 12:26:36 +02:00
Cayo Puigdefabregas bd3befa0af fix test 2022-04-08 12:25:17 +02:00
Cayo Puigdefabregas 04e11586bf add schema_version to tests lite 2022-04-08 11:36:39 +02:00
Cayo Puigdefabregas 545a1013e9 add schema_version 2022-04-08 11:10:03 +02:00
Cayo Puigdefabregas c92723d01b change resources for URIs in calls to api 2022-04-07 21:00:05 +02:00
Cayo Puigdefabregas b3ab6d306e add api resources un conftest 2022-04-07 20:59:13 +02:00
Cayo Puigdefabregas 58b4ead86c add components to check old snapshots 2022-04-05 19:17:26 +02:00
Cayo Puigdefabregas fbf3a20c1e add new snapshots 2022-04-05 12:37:43 +02:00
Cayo Puigdefabregas 7c6e5a8d2f add test for old snapshots 2022-04-05 12:35:33 +02:00
Cayo Puigdefabregas 7f0184f049 add test for old snapshots 2022-04-05 11:03:40 +02:00
Cayo Puigdefabregas 27d018a6a3 add new test snapshot qemu 2022-04-04 19:08:03 +02:00
Cayo Puigdefabregas cb5fb14c92 add model for save errors of parse snapshots 2022-04-04 13:27:04 +02:00
Cayo Puigdefabregas 77a35ec1a3 fix test for new jsons 2022-04-01 18:27:19 +02:00
Cayo Puigdefabregas 5eab44b46f new file for test 2022-03-31 19:38:05 +02:00
Cayo Puigdefabregas ca71494e2b add wbid in the snapshots 2022-03-30 13:48:55 +02:00
Cayo Puigdefabregas 9bb03d282d fix tests 2022-03-29 18:42:43 +02:00
Cayo Puigdefabregas 94fd4ef21c drop rate of snapshot tests 2022-03-29 17:00:09 +02:00
Cayo Puigdefabregas f3e8fa6cc1 add action data storage test 2022-03-29 11:24:54 +02:00
Cayo Puigdefabregas 7a09127de9 add parsing from lshw and reuse code of worbench computer for parse 2022-03-28 19:14:19 +02:00
Cayo Puigdefabregas 7d1e1589b6 add file_json 2022-03-25 13:53:27 +01:00
Cayo Puigdefabregas 43b4437333 made test 2022-03-25 13:52:51 +01:00
Cayo Puigdefabregas 76a6da406f made test 2022-03-25 13:52:38 +01:00
Cayo Puigdefabregas 18883b2b8d validate fields for the new snapshot 2022-03-18 12:07:22 +01:00
Cayo Puigdefabregas f2ab02804b new userclient from flask instead of teal 2022-03-17 13:13:15 +01:00
Cayo Puigdefabregas ec99ad22b5 . 2022-03-17 11:50:57 +01:00
Cayo Puigdefabregas 39dc4d8635 add one example that how use client validate 2022-03-15 19:57:54 +01:00
Cayo Puigdefabregas 071e145264 Add body in the check of request 2022-03-15 11:17:05 +01:00
Cayo Puigdefabregas 4e35660080 change conftest 2022-03-14 13:32:39 +01:00
Cayo Puigdefabregas 47dcb5efe8 fixing tests 2021-12-21 10:32:04 +01:00
Cayo Puigdefabregas 46dd173a12 fixing tests 2021-12-16 14:00:54 +01:00
Cayo Puigdefabregas f00dad123f fixing test and adding one more 2021-12-09 10:59:26 +01:00
Cayo Puigdefabregas f33809fa0a up new test 2021-12-03 10:27:43 +01:00
Cayo Puigdefabregas 7b6cd32943 fixing test documents 2021-11-26 14:30:23 +01:00
Cayo Puigdefabregas f0d9ead977 deactivate removes for RAMs slots 2021-11-26 14:08:11 +01:00
Cayo Puigdefabregas 03ee4fba34 changes some values of headers 2021-11-24 12:20:40 +01:00
Cayo Puigdefabregas c4a2b720ef adding property power_on_hours 2021-11-23 15:27:16 +01:00
Cayo Puigdefabregas 1cdd7d39b4 fixing test metrics container 2021-11-23 11:26:21 +01:00
Cayo Puigdefabregas 2d5ead7c1b checking permitions of actions 2021-11-22 12:01:12 +01:00
Cayo Puigdefabregas bef5df414b fixing bug in sync 2021-11-22 11:14:27 +01:00
Cayo Puigdefabregas 818e3ad0cc new tests 2021-11-19 12:44:52 +01:00
Cayo Puigdefabregas 3b41ddb66a Merge branch 'testing' into feature/delete-devices 2021-11-19 12:07:14 +01:00
Cayo Puigdefabregas 5510417125 reduce latency for timeout for lots 2021-11-18 11:48:57 +01:00
Cayo Puigdefabregas a19aa66ecc fixing test_workbench_server_condensed 2021-11-12 18:31:19 +01:00
Cayo Puigdefabregas 37c410bc36 fixing confirms tests 2021-11-12 17:46:39 +01:00
Cayo Puigdefabregas 8e47af8e27 refactoring trading and trading for web 2021-11-12 10:00:43 +01:00
Cayo Puigdefabregas 872a0be866 rebuild trading function 2021-11-11 22:08:28 +01:00
Cayo Puigdefabregas 9dc79a59dc fixing revokeView and reset_owner 2021-11-10 18:59:44 +01:00
Cayo Puigdefabregas 6de83ce4d2 Fixing order of actions_multiple devices 2021-11-04 11:58:15 +01:00
Cayo Puigdefabregas b233b7bb75 fixed 2021-11-03 10:37:15 +01:00
Cayo Puigdefabregas c34cbb5c26 fixing metrics 2021-11-02 12:47:23 +01:00
Cayo Puigdefabregas 15fa4546d1 fixing general case for devices 2021-10-25 12:20:16 +02:00
Cayo Puigdefabregas 118825ed77 testing bug confirmed in metrics 2021-10-25 10:43:28 +02:00
Cayo Puigdefabregas 3531f607da fixing other orther of tags 2021-10-23 15:01:50 +02:00
Cayo Puigdefabregas 2dd1a3cfd5 fixed random tag order 2021-10-23 14:44:09 +02:00
Cayo Puigdefabregas 0b8304b729 fixing test 2021-10-23 14:02:49 +02: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 1bfb80de52 fixing tests 2021-10-22 22:34:32 +02:00
Cayo Puigdefabregas 9faa1697a7 fixing event device 2021-10-22 21:14:10 +02:00
Cayo Puigdefabregas 7c6b20597b fixing supplier permitions 2021-10-20 14:53:33 +02:00
Cayo Puigdefabregas 87f30a1391 adding metrics for tradeDocuments 2021-10-19 18:19:25 +02:00
Cayo Puigdefabregas 31de27769d Merge branch 'testing' into feature/new-metrix 2021-10-18 11:53:05 +02:00
Cayo Puigdefabregas 5ec005e63b resolve conflict 2021-10-18 11:47:55 +02:00
Cayo Puigdefabregas 2d37baca8d fixing minor changes of review 2021-10-18 11:20:05 +02:00
Cayo Puigdefabregas 0eed8330ce adding metrics for documents 2021-10-15 15:04:58 +02:00
Cayo Puigdefabregas 17f8aebb94 fixing rows 2021-10-14 18:13:20 +02:00
Cayo Puigdefabregas 5e9b9bf08d new metrics 2021-10-14 12:56:33 +02:00
Cayo Puigdefabregas 007e9a96c6 Merge branch 'testing' into feature/new-recycling-action 2021-10-06 12:49:42 +02:00
Cayo Puigdefabregas fbf74643e9 resolve conflict 2021-10-06 12:11:05 +02:00
Cayo Puigdefabregas aa4ebeb504 fixing, vanish deactivate devices 2021-10-05 14:33:28 +02:00
Cayo Puigdefabregas 7eff54f86a fixing base test 2021-10-05 12:19:23 +02:00
Cayo Puigdefabregas 6dd54d9645 deactivate devices 2021-10-05 12:17:07 +02:00
Cayo Puigdefabregas dc3b9ebf2d fixing test 2021-10-05 11:55:43 +02:00
Cayo Puigdefabregas 83c4cc2d8b test of delete devices 2021-10-05 09:56:57 +02:00
Cayo Puigdefabregas b02f9dfac5 fixing test bug #168 2021-10-04 13:34:49 +02:00
Cayo Puigdefabregas b83bbe25a0 test bug 168 2021-10-01 18:01:39 +02:00
Cayo Puigdefabregas 2d305f5a43 adding trade without devices 2021-10-01 13:18:56 +02:00
Cayo Puigdefabregas 2790a7756c test action trade without devices and documents 2021-10-01 12:56:12 +02:00
Cayo Puigdefabregas 7a43eaa30f fixing name reuse in test 2021-10-01 11:42:31 +02:00
Cayo Puigdefabregas e30c6c2250 fixing test 2021-10-01 11:26:56 +02:00
Cayo Puigdefabregas eeb6db7bc2 test for recycling documents 2021-09-29 21:12:46 +02:00
Cayo Puigdefabregas 7e4af161d3 solve conflict 2021-09-29 14:13:42 +02:00
cayop baa5fccda0
Merge pull request #163 from eReuse/feature/container
Feature/container
2021-09-29 12:58:01 +02:00
Cayo Puigdefabregas 2828c0755a adding test for check if you are not the owner 2021-09-29 11:04:56 +02:00
Cayo Puigdefabregas 88780d4949 adding test for history and status calls 2021-09-28 15:44:56 +02:00
Cayo Puigdefabregas 4ce316a9ac fixing tests status actions 2021-09-28 11:25:57 +02:00
Cayo Puigdefabregas e861ae3bf8 adding tests for recycling and reuse 2021-09-22 14:33:46 +02:00
Cayo Puigdefabregas 23cb5a2bf6 fixing test 2021-09-22 12:18:10 +02:00
Cayo Puigdefabregas b7396b4f23 adding action moveOn inside of tradeDocuments 2021-09-09 13:34:24 +02:00
Cayo Puigdefabregas 1e86515391 fixing test moveOnDocument 2021-09-08 14:17:48 +02:00
Cayo Puigdefabregas 74af5add3c adding action moveOn endpoint 2021-09-06 12:45:47 +02:00
Cayo Puigdefabregas f398c50288 clean old code as documents 2021-09-06 12:44:57 +02:00
Cayo Puigdefabregas 1aaf0a9ae7 build tests for moveon 2021-09-03 16:05:55 +02:00
Cayo Puigdefabregas 1d73a8f0c1 Merge branch 'testing' into feature/container 2021-09-03 11:05:47 +02:00
Cayo Puigdefabregas fdea06f08f specific test for unassign 2021-08-17 11:22:50 +02:00
Cayo Puigdefabregas 3e232e40c7 base of test unassign 2021-08-17 11:06:04 +02:00
Cayo Puigdefabregas e82358d5dc fixing basic test 2021-08-10 13:21:39 +02:00
Cayo Puigdefabregas f1220dd756 new Recycling document 2021-08-10 12:45:03 +02:00
Cayo Puigdefabregas 9217f7392a Merge branch 'feature/document-erased' into feature/container 2021-08-09 17:22:46 +02:00
Cayo Puigdefabregas 9b2936c795 adding weight to trade documents 2021-08-03 16:40:17 +02:00
Cayo Puigdefabregas 2263f67419 test 2021-08-03 13:08:03 +02:00
Cayo Puigdefabregas 7f0ea2d9ae new test for trade document 2021-08-03 11:28:18 +02:00
Cayo Puigdefabregas 8aba022ef5 fixing test 2021-08-02 11:42:33 +02:00
Cayo Puigdefabregas e0c8d0204c fixing tests csv exports 2021-08-02 10:46:35 +02:00
Cayo Puigdefabregas 1811b81e93 adding success and software field in document 2021-07-29 14:54:58 +02:00
Cayo Puigdefabregas bfe56a8626 DataWipe instead of ToErased 2021-07-29 12:45:43 +02:00
Cayo Puigdefabregas f8ce81cc19 drop endpoint 2021-07-29 11:19:45 +02:00
Cayo Puigdefabregas bb3145f3d8 fixing test_basic 2021-07-28 15:59:11 +02:00
Cayo Puigdefabregas 1e32b74b8f fixing test basics 2021-07-26 14:00:28 +02:00
Cayo Puigdefabregas 5e6ecaae49 adding test for erase documents 2021-07-26 11:55:12 +02:00
Cayo Puigdefabregas fb4f6f9386 adding test for erase documents 2021-07-26 11:54:05 +02:00
Cayo Puigdefabregas 0d033e94d4 Merge branch 'testing' into feature/document-erased 2021-07-13 10:45:57 +02:00
Cayo Puigdefabregas c2745fa437 update changelog and versions 2021-07-07 12:46:24 +02:00
Cayo Puigdefabregas 64ef1dcf57 test erase from web 2021-07-06 16:03:03 +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 167f16b641 Merge branch 'testing' into feature/#155_decode_snapshots 2021-07-01 12:57:08 +02:00
Cayo Puigdefabregas 8cc535273a drop old trade tests 2021-07-01 12:16:49 +02:00
Cayo Puigdefabregas c5234e0fd4 fixing tests 2021-07-01 12:07:52 +02:00
nad 6d4212f314 add example snapshot with hash 2021-06-30 12:47:26 +02:00
nad e3a0ea7e5b first iteration #155 decode snapshot json 2021-06-29 17:15:45 +02:00
Cayo Puigdefabregas 7cee2693ff resolve conflict 2021-06-15 11:22:17 +02:00
Cayo Puigdefabregas 0d4c70a74e fixing bug 2021-06-11 15:49:31 +02:00
Cayo Puigdefabregas ab32b996bd resolve conflict 2021-06-11 12:52:39 +02:00
Cayo Puigdefabregas 5f7dfbe58e adding 14 cases of trade tests 2021-06-11 12:25:58 +02:00
cayop a0d26a104f
Merge pull request #140 from eReuse/feature/endpoint-confirm
Feature/endpoint confirm
2021-06-09 11:46:32 +02:00
Cayo Puigdefabregas 0f744d5eb7 fixing tests 2021-06-09 11:27:12 +02:00
Cayo Puigdefabregas f3f65efeaf resolve conflicts 2021-06-07 12:08:55 +02:00
Cayo Puigdefabregas 6c689878a4 Fixing schema trade 2021-06-01 15:59:54 +02:00
Cayo Puigdefabregas f8944df312 fixed tests 2021-05-27 15:55:39 +02:00
Cayo Puigdefabregas 30ad463d1e fixing documents 2021-05-26 11:42:42 +02:00
Cayo Puigdefabregas 5e97cdf863 less fixing tests 2021-05-25 11:35:03 +02:00
Cayo Puigdefabregas 1098ef773f resolve conflict 2021-05-25 09:03:34 +02:00
Cayo Puigdefabregas 74dd300cad finish tests 2021-05-21 13:16:06 +02:00
Cayo Puigdefabregas 443464c9b8 trade test for documents 2021-05-19 13:58:39 +02:00
Cayo Puigdefabregas 3b8b14cfba fixing test endpoint docs 2021-05-19 09:45:01 +02:00
Cayo Puigdefabregas 6fc0e71833 new endpoint tests of tradedocuments 2021-05-14 12:57:54 +02:00
Cayo Puigdefabregas 5e36cca340 basic test of model Document 2021-05-13 18:41:20 +02:00
Cayo Puigdefabregas c21de78982 base for documents 2021-05-13 13:35:46 +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 90f3a097a0 split trade tests in an other file 2021-05-12 11:47:40 +02:00
Cayo Puigdefabregas f36fa2bb7d add var in config 2021-05-12 11:47:03 +02:00
Cayo Puigdefabregas f6205912fb fixing test renders 2021-05-10 12:10:57 +02:00
Cayo Puigdefabregas 3157c34ab8 adding tests for moviestar usecases 2021-05-10 11:53:31 +02:00
Cayo Puigdefabregas 882ee381b3 fixing tests 2021-05-10 11:52:43 +02:00
Cayo Puigdefabregas 951d067dd6 adding revoke and fixing ConfigRevike 2021-04-30 17:54:03 +02:00
Cayo Puigdefabregas 34fbf0dca6 ConfirmRevoke as a new action 2021-04-30 12:44:32 +02:00
Cayo Puigdefabregas b2bd820d50 resolve conflict 2021-04-29 17:04:25 +02:00
Cayo Puigdefabregas e4b1fc0eec drop test tradenotes 2021-04-29 11:48:53 +02:00
Cayo Puigdefabregas 4afa21d7d7 Merge branch 'testing' into feature/#135-trade-without-to 2021-04-29 11:23:00 +02:00
Cayo Puigdefabregas 330f2b7b78 test revoke and confirm with doble query 2021-04-27 10:53:19 +02:00
Cayo Puigdefabregas 97d784f849 Merge branch 'testing' into feature/endpoint-confirm 2021-04-26 17:11:35 +02:00
Cayo Puigdefabregas e496f8009c replicate bug in test 2021-04-26 15:22:09 +02:00
Cayo Puigdefabregas 2557cee84a adding tests confirm and revoke 2021-04-22 11:10:49 +02:00
Cayo Puigdefabregas d71d978936 update get one action 2021-04-21 17:39:02 +02:00
Cayo Puigdefabregas dfd4ffe012 new test for tradenote 2021-04-21 14:44:34 +02:00
Cayo Puigdefabregas da4a410f58 fixing render tests 2021-04-21 14:42:44 +02:00
Cayo Puigdefabregas a0981d1430 adding test_automatic_note_to_trade 2021-04-20 16:20:24 +02:00
Cayo Puigdefabregas 220e864681 fixing test 2021-04-20 16:19:55 +02:00
Cayo Puigdefabregas aaafb2a5fa test about trade notes 2021-04-19 21:31:22 +02:00
Cayo Puigdefabregas fa4edfb9a2 fixing tests 2021-04-19 19:33:55 +02:00
Cayo Puigdefabregas 149255bcfe resolve conflicts 2021-04-16 18:16:07 +02:00
Cayo Puigdefabregas e9d85e3d9e resolv conflict 2021-04-16 15:46:19 +02:00
Cayo Puigdefabregas ebe089499d fixing tests 2021-04-16 13:25:41 +02:00
Cayo Puigdefabregas 4122ac165e fixing tests 2021-04-16 12:45:14 +02:00
Cayo Puigdefabregas 68ffa0ddff fixing tests 2021-04-16 11:14:36 +02:00
Cayo Puigdefabregas 7836f2fc8d drop pdbs 2021-04-15 21:23:02 +02:00
Cayo Puigdefabregas 9c489c7564 fixing create new users 2021-04-15 21:16:32 +02:00
Cayo Puigdefabregas 5cc64d2d28 fixing test 2021-04-15 21:16:04 +02:00
Cayo Puigdefabregas 7ea3041aa0 authorized up snapshots with new token 2021-04-14 13:21:46 +02:00
Cayo Puigdefabregas d46db11813 adding devices from lot 2021-04-14 13:02:39 +02:00
Cayo Puigdefabregas ca85a1f221 check the token in a test 2021-04-13 18:34:18 +02:00
Cayo Puigdefabregas 7e4513f5d2 Merge branch 'testing' into feature/#128-endpoint-config-wb 2021-04-12 19:48:23 +02:00
Cayo Puigdefabregas 1620591deb fixing test_get_wbconf 2021-04-12 12:31:07 +02:00
Cayo Puigdefabregas 0138162bdf enlarge test of phantom account and components 2021-04-09 22:22:39 +02:00
Cayo Puigdefabregas affeea4f52 check trade.confirm_transfer 2021-04-09 20:11:43 +02:00
Cayo Puigdefabregas 4157aa8273 adding test of active and phantom login 2021-04-09 20:10:52 +02:00