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
Xavier Bustamante Talavera
aa52367f03
Iterate over SQLA Result / Query instead of .all()
2018-09-11 22:51:13 +02:00
Xavier Bustamante Talavera
ca7c89633b
Correctly handle unique constraints
2018-09-07 12:35:32 +02:00
Xavier Bustamante Talavera
2ed558ac2b
Enhance Lot; use timezone aware datetime
2018-08-09 21:46:54 +02:00
Xavier Bustamante Talavera
42b0b0ebbc
Complete events and agents. Bump to 0.2.0a11.
2018-08-03 18:15:08 +02:00
Xavier Bustamante Talavera
6d85f314ef
Add cpu.threads and network.wireless; add snapshots to testing / dummy
2018-07-19 21:25:06 +02:00
Xavier Bustamante Talavera
c1a3b23d8b
Integrate with rate
2018-07-14 16:41:22 +02:00
Xavier Bustamante Talavera
af885c2aec
First real snapshots :-)
2018-07-02 12:52:54 +02:00
Xavier Bustamante Talavera
b0b455d4f0
Update device structure
2018-06-26 15:35:13 +02:00
Xavier Bustamante Talavera
10f3aa7d35
Improve api generation; remove unneeded views
2018-06-24 16:57:49 +02:00
Xavier Bustamante Talavera
21d1a96aff
Add computer monitor; dummy; fix
2018-06-20 23:18:15 +02:00
Xavier Bustamante Talavera
d2af894174
Sync snapshot; add event listeners to auto-update device relationships
2018-06-16 12:41:12 +02:00
Xavier Bustamante Talavera
5538e5ac69
Fix UUID in events
2018-06-15 15:31:03 +02:00
Xavier Bustamante Talavera
b9f989270d
Polish db class diagram
2018-06-10 18:47:49 +02:00
Xavier Bustamante Talavera
aa45d1b904
Add Tag support; sync with tags; use SQLAlchemy's collection_class; set autoflush to false
2018-05-30 12:49:40 +02:00
Xavier Bustamante Talavera
4ab7d421a4
Simplify Snapshot; improve error-handling in tests
2018-05-16 15:23:48 +02:00
Xavier Bustamante Talavera
439f7b9d58
Simplify dump; first simple snapshot-components passing
2018-05-13 15:13:12 +02:00
Xavier Bustamante Talavera
ac26d8d610
Get resources correctly with polymorphic
2018-05-11 18:58:48 +02:00
Xavier Bustamante Talavera
78b5a230d4
First Snapshot attempt
2018-04-30 19:58:19 +02:00
Xavier Bustamante Talavera
8723b379b0
Update to functional endpoint
2018-04-27 19:16:43 +02:00